24std::unique_ptr<RDisplayItem> RObjectDrawable::Display(
const RDisplayContext &ctxt)
27 return std::make_unique<RObjectDisplayItem>(
fObj.
get(),
fOpts);
41 std::stringstream cmd;
42 cmd <<
"((" << obj->
ClassName() <<
"* ) " << std::hex << std::showbase << (size_t)obj <<
")->" << exec <<
";";
43 std::cout <<
"RObjectDrawable::Execute Obj " << obj->
GetName() <<
"Cmd " << cmd.str() << std::endl;
44 gROOT->ProcessLine(cmd.str().c_str());
Version_t GetLastVersion() const
Version_t GetVersion() const
std::string fOpts
drawing options
Internal::RIOShared< TObject > fObj
The object to be painted.
void PopulateMenu(RMenuItems &) final
void Execute(const std::string &) final
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.