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

Extract (reference) only basic attributes from drawable, but not drawable itself.

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

Definition at line 93 of file RDisplayItem.hxx.

Public Member Functions

 RIndirectDisplayItem ()=default
 
 RIndirectDisplayItem (const RDrawable &dr)
 Constructor.
 
- 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 RAttrMapfAttr {nullptr}
 pointer on drawable attributes
 
const std::string * fCssClass {nullptr}
 pointer on drawable class
 
const std::string * fId {nullptr}
 pointer on drawable id
 
- 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::RIndirectDisplayItem:
[legend]

Constructor & Destructor Documentation

◆ RIndirectDisplayItem() [1/2]

ROOT::Experimental::RIndirectDisplayItem::RIndirectDisplayItem ( )
default

◆ RIndirectDisplayItem() [2/2]

RIndirectDisplayItem::RIndirectDisplayItem ( const RDrawable dr)

Constructor.

Definition at line 55 of file RDisplayItem.cxx.

Member Data Documentation

◆ fAttr

const RAttrMap* ROOT::Experimental::RIndirectDisplayItem::fAttr {nullptr}
protected

pointer on drawable attributes

Definition at line 96 of file RDisplayItem.hxx.

◆ fCssClass

const std::string* ROOT::Experimental::RIndirectDisplayItem::fCssClass {nullptr}
protected

pointer on drawable class

Definition at line 97 of file RDisplayItem.hxx.

◆ fId

const std::string* ROOT::Experimental::RIndirectDisplayItem::fId {nullptr}
protected

pointer on drawable id

Definition at line 98 of file RDisplayItem.hxx.

Libraries for ROOT::Experimental::RIndirectDisplayItem:

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