Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RDrawableDisplayItem Class Reference

Generic display item for RDrawable, just reference drawable itself.

Author
Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
Date
2017-05-31
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 65 of file RDisplayItem.hxx.

Public Member Functions

template<class DRAWABLE >
 RDrawableDisplayItem (const DRAWABLE &dr)
 
virtual ~RDrawableDisplayItem ()
 destructor
 
const RDrawableGetDrawable () const
 
- Public Member Functions inherited from ROOT::Experimental::RDisplayItem
 RDisplayItem ()=default
 
 RDisplayItem (bool dummy)
 
virtual ~RDisplayItem ()
 
virtual void BuildFullId (const std::string &prefix)
 Build full id, including prefix and object index.
 
unsigned GetIndex () const
 
std::string GetObjectID () const
 
void SetIndex (unsigned indx)
 
void SetObjectID (const std::string &id)
 
void SetObjectIDAsPtr (const void *ptr)
 Assign id using arbitrary pointer value Typically drawable pointer should be used here.
 
void SetStyle (RStyle *style)
 

Protected Attributes

const RDrawablefDrawable {nullptr}
 drawable
 
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
bool fDummy {false}
 if true, just placeholder for drawable which does not changed
 
unsigned fIndex {0}
 ! index inside current pad, used to produce fully-qualified id, not send to client
 
std::string fObjectID
 unique object identifier
 
RStylefStyle {nullptr}
 style object
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem
static std::string ObjectIDFromPtr (const void *ptr)
 Construct fillid using pointer value.
 

#include <ROOT/RDisplayItem.hxx>

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

Constructor & Destructor Documentation

◆ RDrawableDisplayItem()

template<class DRAWABLE >
ROOT::Experimental::RDrawableDisplayItem::RDrawableDisplayItem ( const DRAWABLE &  dr)
inline

Definition at line 73 of file RDisplayItem.hxx.

◆ ~RDrawableDisplayItem()

RDrawableDisplayItem::~RDrawableDisplayItem ( )
virtual

destructor

Definition at line 46 of file RDisplayItem.cxx.

Member Function Documentation

◆ GetDrawable()

const RDrawable * ROOT::Experimental::RDrawableDisplayItem::GetDrawable ( ) const
inline

Definition at line 78 of file RDisplayItem.hxx.

Member Data Documentation

◆ fDrawable

const RDrawable* ROOT::Experimental::RDrawableDisplayItem::fDrawable {nullptr}
protected

drawable

Definition at line 68 of file RDisplayItem.hxx.

Libraries for ROOT::Experimental::RDrawableDisplayItem:

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