Logo ROOT  
Reference Guide
ROOT::Experimental::RDrawable::RDisplayContext Class Reference

Definition at line 117 of file RDrawable.hxx.

Public Member Functions

 RDisplayContext ()=default
 
 RDisplayContext (RCanvas *canv, RPadBase *pad, Version_t vers=0)
 
RCanvasGetCanvas () const
 
unsigned GetConnId () const
 
RDrawableGetDrawable () const
 
unsigned GetIndex () const
 
Version_t GetLastVersion () const
 
RPadBaseGetPad () const
 
bool IsMainConn () const
 
void SetCanvas (RCanvas *canv)
 Set canvas. More...
 
void SetConnection (unsigned connid, bool ismain)
 Set connection id and ismain flag for connection. More...
 
void SetDrawable (RDrawable *dr, unsigned indx)
 Set drawable and its index in list of primitives. More...
 
void SetPad (RPadBase *pad)
 Set pad. More...
 

Private Attributes

RCanvasfCanvas {nullptr}
 ! canvas where drawable is displayed More...
 
unsigned fConnId {0}
 ! connection id More...
 
RDrawablefDrawable {nullptr}
 ! reference on the drawable More...
 
unsigned fIndex {0}
 ! index in list of primitives More...
 
Version_t fLastVersion {0}
 ! last displayed version More...
 
bool fMainConn {false}
 ! is main connection More...
 
RPadBasefPad {nullptr}
 ! subpad where drawable is displayed More...
 

#include <ROOT/RDrawable.hxx>

Constructor & Destructor Documentation

◆ RDisplayContext() [1/2]

ROOT::Experimental::RDrawable::RDisplayContext::RDisplayContext ( )
default

◆ RDisplayContext() [2/2]

ROOT::Experimental::RDrawable::RDisplayContext::RDisplayContext ( RCanvas canv,
RPadBase pad,
Version_t  vers = 0 
)
inline

Definition at line 130 of file RDrawable.hxx.

Member Function Documentation

◆ GetCanvas()

RCanvas * ROOT::Experimental::RDrawable::RDisplayContext::GetCanvas ( ) const
inline

Definition at line 152 of file RDrawable.hxx.

◆ GetConnId()

unsigned ROOT::Experimental::RDrawable::RDisplayContext::GetConnId ( ) const
inline

Definition at line 159 of file RDrawable.hxx.

◆ GetDrawable()

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

Definition at line 154 of file RDrawable.hxx.

◆ GetIndex()

unsigned ROOT::Experimental::RDrawable::RDisplayContext::GetIndex ( ) const
inline

Definition at line 155 of file RDrawable.hxx.

◆ GetLastVersion()

Version_t ROOT::Experimental::RDrawable::RDisplayContext::GetLastVersion ( ) const
inline

Definition at line 157 of file RDrawable.hxx.

◆ GetPad()

RPadBase * ROOT::Experimental::RDrawable::RDisplayContext::GetPad ( ) const
inline

Definition at line 153 of file RDrawable.hxx.

◆ IsMainConn()

bool ROOT::Experimental::RDrawable::RDisplayContext::IsMainConn ( ) const
inline

Definition at line 160 of file RDrawable.hxx.

◆ SetCanvas()

void ROOT::Experimental::RDrawable::RDisplayContext::SetCanvas ( RCanvas canv)
inline

Set canvas.

Definition at line 136 of file RDrawable.hxx.

◆ SetConnection()

void ROOT::Experimental::RDrawable::RDisplayContext::SetConnection ( unsigned  connid,
bool  ismain 
)
inline

Set connection id and ismain flag for connection.

Definition at line 146 of file RDrawable.hxx.

◆ SetDrawable()

void ROOT::Experimental::RDrawable::RDisplayContext::SetDrawable ( RDrawable dr,
unsigned  indx 
)
inline

Set drawable and its index in list of primitives.

Definition at line 140 of file RDrawable.hxx.

◆ SetPad()

void ROOT::Experimental::RDrawable::RDisplayContext::SetPad ( RPadBase pad)
inline

Set pad.

Definition at line 138 of file RDrawable.hxx.

Member Data Documentation

◆ fCanvas

RCanvas* ROOT::Experimental::RDrawable::RDisplayContext::fCanvas {nullptr}
private

! canvas where drawable is displayed

Definition at line 118 of file RDrawable.hxx.

◆ fConnId

unsigned ROOT::Experimental::RDrawable::RDisplayContext::fConnId {0}
private

! connection id

Definition at line 123 of file RDrawable.hxx.

◆ fDrawable

RDrawable* ROOT::Experimental::RDrawable::RDisplayContext::fDrawable {nullptr}
private

! reference on the drawable

Definition at line 120 of file RDrawable.hxx.

◆ fIndex

unsigned ROOT::Experimental::RDrawable::RDisplayContext::fIndex {0}
private

! index in list of primitives

Definition at line 122 of file RDrawable.hxx.

◆ fLastVersion

Version_t ROOT::Experimental::RDrawable::RDisplayContext::fLastVersion {0}
private

! last displayed version

Definition at line 121 of file RDrawable.hxx.

◆ fMainConn

bool ROOT::Experimental::RDrawable::RDisplayContext::fMainConn {false}
private

! is main connection

Definition at line 124 of file RDrawable.hxx.

◆ fPad

RPadBase* ROOT::Experimental::RDrawable::RDisplayContext::fPad {nullptr}
private

! subpad where drawable is displayed

Definition at line 119 of file RDrawable.hxx.

Libraries for ROOT::Experimental::RDrawable::RDisplayContext:
[legend]

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