Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::TObjectDrawable Class Reference

Definition at line 32 of file TObjectDrawable.hxx.

Public Member Functions

 TObjectDrawable ()=default
 
 TObjectDrawable (const std::shared_ptr< TObject > &obj)
 
void Execute (const std::string &) final
 Executes menu item. More...
 
std::string & Options ()
 Get the options - a string! More...
 
void Paint (Internal::TVirtualCanvasPainter &canv) final
 Paint the histogram. More...
 
void PopulateMenu (TMenuItems &) final
 Fill menu items for the object. More...
 
- Public Member Functions inherited from ROOT::Experimental::TDrawable
virtual ~TDrawable ()
 

Private Attributes

const std::shared_ptr< TObjectfObj
 The object to be painted. More...
 
std::string fOpts
 The drawing options. More...
 

#include <ROOT/TObjectDrawable.hxx>

Inheritance diagram for ROOT::Experimental::TObjectDrawable:
[legend]

Constructor & Destructor Documentation

◆ TObjectDrawable() [1/2]

ROOT::Experimental::TObjectDrawable::TObjectDrawable ( )
default

◆ TObjectDrawable() [2/2]

ROOT::Experimental::TObjectDrawable::TObjectDrawable ( const std::shared_ptr< TObject > &  obj)
inline

Definition at line 40 of file TObjectDrawable.hxx.

Member Function Documentation

◆ Execute()

void ROOT::Experimental::TObjectDrawable::Execute ( const std::string &  exec)
finalvirtual

Executes menu item.

Reimplemented from ROOT::Experimental::TDrawable.

Definition at line 44 of file TObjectDrawable.cxx.

◆ Options()

std::string& ROOT::Experimental::TObjectDrawable::Options ( )
inline

Get the options - a string!

Definition at line 49 of file TObjectDrawable.hxx.

◆ Paint()

void ROOT::Experimental::TObjectDrawable::Paint ( Internal::TVirtualCanvasPainter canv)
finalvirtual

Paint the histogram.

Implements ROOT::Experimental::TDrawable.

Definition at line 28 of file TObjectDrawable.cxx.

◆ PopulateMenu()

void ROOT::Experimental::TObjectDrawable::PopulateMenu ( TMenuItems items)
finalvirtual

Fill menu items for the object.

Reimplemented from ROOT::Experimental::TDrawable.

Definition at line 36 of file TObjectDrawable.cxx.

Member Data Documentation

◆ fObj

const std::shared_ptr<TObject> ROOT::Experimental::TObjectDrawable::fObj
private

The object to be painted.

Definition at line 33 of file TObjectDrawable.hxx.

◆ fOpts

std::string ROOT::Experimental::TObjectDrawable::fOpts
private

The drawing options.

Definition at line 34 of file TObjectDrawable.hxx.

Libraries for ROOT::Experimental::TObjectDrawable:
[legend]

The documentation for this class was generated from the following files: