47 std::stringstream cmd;
48 cmd <<
"((" << obj->
ClassName() <<
"* ) " << std::hex << std::showbase << (size_t)obj <<
")->" << exec <<
";";
49 std::cout <<
"RObjectDrawable::Execute Obj " << obj->
GetName() <<
"Cmd " << cmd.str() << std::endl;
50 gROOT->ProcessLine(cmd.str().c_str());
Abstract interface for object painting on the pad/canvas.
virtual void AddDisplayItem(std::unique_ptr< RDisplayItem > &&item)
add display item to the canvas
void Paint(Internal::RPadPainter &canv) final
Paint the object.
void Execute(const std::string &) final
Executes menu item.
void PopulateMenu(RMenuItems &) final
Fill menu items for the object.
const std::shared_ptr< TObject > fObj
The object to be painted.
const std::string & GetOptionString() const
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.