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

Definition at line 125 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.
 
void SetConnection (unsigned connid, bool ismain)
 Set connection id and ismain flag for connection.
 
void SetDrawable (RDrawable *dr, unsigned indx)
 Set drawable and its index in list of primitives.
 
void SetPad (RPadBase *pad)
 Set pad.
 

Private Attributes

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

#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 138 of file RDrawable.hxx.

Member Function Documentation

◆ GetCanvas()

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

Definition at line 160 of file RDrawable.hxx.

◆ GetConnId()

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

Definition at line 167 of file RDrawable.hxx.

◆ GetDrawable()

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

Definition at line 162 of file RDrawable.hxx.

◆ GetIndex()

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

Definition at line 163 of file RDrawable.hxx.

◆ GetLastVersion()

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

Definition at line 165 of file RDrawable.hxx.

◆ GetPad()

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

Definition at line 161 of file RDrawable.hxx.

◆ IsMainConn()

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

Definition at line 168 of file RDrawable.hxx.

◆ SetCanvas()

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

Set canvas.

Definition at line 144 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 154 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 148 of file RDrawable.hxx.

◆ SetPad()

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

Set pad.

Definition at line 146 of file RDrawable.hxx.

Member Data Documentation

◆ fCanvas

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

! canvas where drawable is displayed

Definition at line 126 of file RDrawable.hxx.

◆ fConnId

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

! connection id

Definition at line 131 of file RDrawable.hxx.

◆ fDrawable

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

! reference on the drawable

Definition at line 128 of file RDrawable.hxx.

◆ fIndex

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

! index in list of primitives

Definition at line 130 of file RDrawable.hxx.

◆ fLastVersion

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

! last displayed version

Definition at line 129 of file RDrawable.hxx.

◆ fMainConn

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

! is main connection

Definition at line 132 of file RDrawable.hxx.

◆ fPad

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

! subpad where drawable is displayed

Definition at line 127 of file RDrawable.hxx.

Libraries for ROOT::Experimental::RDrawable::RDisplayContext:

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