25 return std::make_unique<RObjectDisplayItem>(
fObj.
get(),
fOpts);
38 std::stringstream cmd;
39 cmd <<
"((" << obj->
ClassName() <<
"* ) " << std::hex << std::showbase << (size_t)obj <<
")->" << exec <<
";";
40 std::cout <<
"RObjectDrawable::Execute Obj " << obj->
GetName() <<
"Cmd " << cmd.str() << std::endl;
41 gROOT->ProcessLine(cmd.str().c_str());
std::string fOpts
drawing options
Internal::RIOShared< TObject > fObj
The object to be painted.
void Execute(const std::string &) final
Executes menu item.
std::unique_ptr< RDisplayItem > Display() const override
Creates display item for drawable By default item contains drawble data itself.
void PopulateMenu(RMenuItems &) final
Fill menu items for the object.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.