Logo ROOT   master
Reference Guide
ROOT::Experimental::RDisplayItem Class Reference

Base class for painting data for JS.

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 30 of file RDisplayItem.hxx.

Public Member Functions

 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)
 

Static Public Member Functions

static std::string ObjectIDFromPtr (const void *ptr)
 

Protected Attributes

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...
 

#include <ROOT/RDisplayItem.hxx>

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

Constructor & Destructor Documentation

◆ RDisplayItem()

ROOT::Experimental::RDisplayItem::RDisplayItem ( )
default

◆ ~RDisplayItem()

virtual ROOT::Experimental::RDisplayItem::~RDisplayItem ( )
inlinevirtual

Definition at line 38 of file RDisplayItem.hxx.

Member Function Documentation

◆ BuildFullId()

void ROOT::Experimental::RDisplayItem::BuildFullId ( const std::string &  prefix)
virtual

◆ GetIndex()

unsigned ROOT::Experimental::RDisplayItem::GetIndex ( ) const
inline

Definition at line 48 of file RDisplayItem.hxx.

◆ GetObjectID()

std::string ROOT::Experimental::RDisplayItem::GetObjectID ( ) const
inline

Definition at line 41 of file RDisplayItem.hxx.

◆ ObjectIDFromPtr()

std::string ROOT::Experimental::RDisplayItem::ObjectIDFromPtr ( const void ptr)
static

Definition at line 29 of file RDisplayItem.cxx.

◆ SetIndex()

void ROOT::Experimental::RDisplayItem::SetIndex ( unsigned  indx)
inline

Definition at line 47 of file RDisplayItem.hxx.

◆ SetObjectID()

void ROOT::Experimental::RDisplayItem::SetObjectID ( const std::string &  id)
inline

Definition at line 40 of file RDisplayItem.hxx.

◆ SetObjectIDAsPtr()

void ROOT::Experimental::RDisplayItem::SetObjectIDAsPtr ( const void ptr)

Assign id using arbitrary pointer value Typically drawable pointer should be used here.

Definition at line 19 of file RDisplayItem.cxx.

◆ SetStyle()

void ROOT::Experimental::RDisplayItem::SetStyle ( RStyle style)
inline

Definition at line 45 of file RDisplayItem.hxx.

Member Data Documentation

◆ fIndex

unsigned ROOT::Experimental::RDisplayItem::fIndex {0}
protected

! index inside current pad, used to produce fully-qualified id, not send to client

Definition at line 34 of file RDisplayItem.hxx.

◆ fObjectID

std::string ROOT::Experimental::RDisplayItem::fObjectID
protected

unique object identifier

Definition at line 32 of file RDisplayItem.hxx.

◆ fStyle

RStyle* ROOT::Experimental::RDisplayItem::fStyle {nullptr}
protected

style object

Definition at line 33 of file RDisplayItem.hxx.


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