Logo ROOT   6.18/05
Reference Guide
List of all members | Classes | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | List of all members
ROOT::Experimental::Internal::RVirtualCanvasPainter Class Referenceabstract

Abstract interface for painting a canvas.

Definition at line 38 of file RVirtualCanvasPainter.hxx.

Classes

class  Generator
 

Public Member Functions

virtual ~RVirtualCanvasPainter ()
 Default destructor. More...
 
virtual bool AddPanel (std::shared_ptr< RWebWindow >)
 
virtual void CanvasUpdated (uint64_t, bool, CanvasCallback_t)=0
 indicate that canvas changed, provides current version of the canvas More...
 
virtual void DoWhenReady (const std::string &, const std::string &, bool, CanvasCallback_t)=0
 perform special action when drawing is ready More...
 
virtual bool IsCanvasModified (uint64_t) const =0
 return true if canvas modified since last painting More...
 
virtual void NewDisplay (const std::string &where)=0
 
virtual int NumDisplays () const =0
 
virtual void Run (double tm=0.)=0
 run canvas functionality in caller thread, not needed when main thread is used More...
 
- Public Member Functions inherited from ROOT::Experimental::Internal::RPadPainter
 RPadPainter ()=default
 Default constructor. More...
 
virtual ~RPadPainter ()
 Default destructor. More...
 
virtual void AddDisplayItem (std::unique_ptr< RDisplayItem > &&item)
 add display item to the canvas More...
 

Static Public Member Functions

static std::unique_ptr< RVirtualCanvasPainterCreate (const RCanvas &canv)
 Loads the plugin that implements this class. More...
 

Static Protected Member Functions

static std::unique_ptr< Generator > & GetGenerator ()
 generator getter More...
 

Additional Inherited Members

- Protected Member Functions inherited from ROOT::Experimental::Internal::RPadPainter
void PaintDrawables (const RPadBase &pad)
 
- Protected Attributes inherited from ROOT::Experimental::Internal::RPadPainter
std::string fCurrentDrawableId
 ! current drawable id More...
 
std::unique_ptr< RPadDisplayItemfPadDisplayItem
 ! display items for all drawables in the pad More...
 

#include <ROOT/RVirtualCanvasPainter.hxx>

Inheritance diagram for ROOT::Experimental::Internal::RVirtualCanvasPainter:
[legend]

Constructor & Destructor Documentation

◆ ~RVirtualCanvasPainter()

ROOT::Experimental::Internal::RVirtualCanvasPainter::~RVirtualCanvasPainter ( )
virtualdefault

Default destructor.

The implementation is here to pin the vtable.

Member Function Documentation

◆ AddPanel()

virtual bool ROOT::Experimental::Internal::RVirtualCanvasPainter::AddPanel ( std::shared_ptr< RWebWindow >  )
inlinevirtual

Definition at line 71 of file RVirtualCanvasPainter.hxx.

◆ CanvasUpdated()

virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::CanvasUpdated ( uint64_t  ,
bool  ,
CanvasCallback_t   
)
pure virtual

indicate that canvas changed, provides current version of the canvas

◆ Create()

std::unique_ptr< ROOT::Experimental::Internal::RVirtualCanvasPainter > ROOT::Experimental::Internal::RVirtualCanvasPainter::Create ( const RCanvas canv)
static

Loads the plugin that implements this class.

Definition at line 48 of file RVirtualCanvasPainter.cxx.

◆ DoWhenReady()

virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::DoWhenReady ( const std::string &  ,
const std::string &  ,
bool  ,
CanvasCallback_t   
)
pure virtual

perform special action when drawing is ready

◆ GetGenerator()

std::unique_ptr< ROOT::Experimental::Internal::RVirtualCanvasPainter::Generator > & ROOT::Experimental::Internal::RVirtualCanvasPainter::GetGenerator ( )
staticprotected

generator getter

Definition at line 41 of file RVirtualCanvasPainter.cxx.

◆ IsCanvasModified()

virtual bool ROOT::Experimental::Internal::RVirtualCanvasPainter::IsCanvasModified ( uint64_t  ) const
pure virtual

return true if canvas modified since last painting

◆ NewDisplay()

virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::NewDisplay ( const std::string &  where)
pure virtual

◆ NumDisplays()

virtual int ROOT::Experimental::Internal::RVirtualCanvasPainter::NumDisplays ( ) const
pure virtual

◆ Run()

virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::Run ( double  tm = 0.)
pure virtual

run canvas functionality in caller thread, not needed when main thread is used


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