Logo ROOT  
Reference Guide
ROOT::Experimental::RPadBaseDisplayItem Class Reference

class RPadBaseDisplayItem

Display item for the RPadBase class, includes primitives, attributes and frame

Author
Sergey Linev
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 29 of file RPadDisplayItem.hxx.

Public Types

using PadPrimitives_t = std::vector< std::unique_ptr< RDisplayItem > >
 

Public Member Functions

 RPadBaseDisplayItem ()=default
 
virtual ~RPadBaseDisplayItem ()=default
 
void Add (std::unique_ptr< RDisplayItem > &&item, std::shared_ptr< RStyle > &&style)
 Add display item and style which should be used for it. More...
 
void SetAttributes (const RAttrMap *f)
 
void SetFrame (const RFrame *f)
 
void SetPadStyle (std::shared_ptr< RStyle > &&style)
 Assign style for the pad. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDisplayItem
 RDisplayItem ()=default
 
virtual ~RDisplayItem ()
 
virtual void BuildFullId (const std::string &prefix)
 
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. More...
 
void SetStyle (RStyle *style)
 

Protected Attributes

const RAttrMapfAttr {nullptr}
 temporary pointer on attributes More...
 
const RFramefFrame {nullptr}
 temporary pointer on frame object More...
 
PadPrimitives_t fPrimitives
 display items for all primitives in the pad More...
 
std::vector< std::shared_ptr< RStyle > > fStyles
 ! locked styles of the objects and pad until streaming is performed More...
 
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
unsigned fIndex {0}
 ! index inside current pad, used to produce fully-qualified id, not send to client More...
 
std::string fObjectID
 unique object identifier More...
 
RStylefStyle {nullptr}
 style object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem
static std::string ObjectIDFromPtr (const void *ptr)
 

#include <ROOT/RPadDisplayItem.hxx>

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

Member Typedef Documentation

◆ PadPrimitives_t

Definition at line 32 of file RPadDisplayItem.hxx.

Constructor & Destructor Documentation

◆ RPadBaseDisplayItem()

ROOT::Experimental::RPadBaseDisplayItem::RPadBaseDisplayItem ( )
default

◆ ~RPadBaseDisplayItem()

virtual ROOT::Experimental::RPadBaseDisplayItem::~RPadBaseDisplayItem ( )
virtualdefault

Member Function Documentation

◆ Add()

void ROOT::Experimental::RPadBaseDisplayItem::Add ( std::unique_ptr< RDisplayItem > &&  item,
std::shared_ptr< RStyle > &&  style 
)
inline

Add display item and style which should be used for it.

Definition at line 45 of file RPadDisplayItem.hxx.

◆ SetAttributes()

void ROOT::Experimental::RPadBaseDisplayItem::SetAttributes ( const RAttrMap f)
inline

Definition at line 43 of file RPadDisplayItem.hxx.

◆ SetFrame()

void ROOT::Experimental::RPadBaseDisplayItem::SetFrame ( const RFrame f)
inline

Definition at line 42 of file RPadDisplayItem.hxx.

◆ SetPadStyle()

void ROOT::Experimental::RPadBaseDisplayItem::SetPadStyle ( std::shared_ptr< RStyle > &&  style)
inline

Assign style for the pad.

Definition at line 54 of file RPadDisplayItem.hxx.

Member Data Documentation

◆ fAttr

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

temporary pointer on attributes

Definition at line 36 of file RPadDisplayItem.hxx.

◆ fFrame

const RFrame* ROOT::Experimental::RPadBaseDisplayItem::fFrame {nullptr}
protected

temporary pointer on frame object

Definition at line 35 of file RPadDisplayItem.hxx.

◆ fPrimitives

PadPrimitives_t ROOT::Experimental::RPadBaseDisplayItem::fPrimitives
protected

display items for all primitives in the pad

Definition at line 37 of file RPadDisplayItem.hxx.

◆ fStyles

std::vector<std::shared_ptr<RStyle> > ROOT::Experimental::RPadBaseDisplayItem::fStyles
protected

! locked styles of the objects and pad until streaming is performed

Definition at line 38 of file RPadDisplayItem.hxx.

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

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