Logo ROOT   6.12/07
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::TVirtualCanvasPainter Class Referenceabstract

Abstract interface for painting a canvas.

Definition at line 38 of file TVirtualCanvasPainter.hxx.

Classes

class  Generator
 

Public Member Functions

virtual ~TVirtualCanvasPainter ()
 Default destructor. More...
 
virtual void AddDisplayItem (TDisplayItem *item)=0
 add display item to the canvas More...
 
virtual bool AddPanel (std::shared_ptr< TWebWindow >)
 
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 IsBatchMode () const
 returns true is canvas used in batch mode 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
 

Static Public Member Functions

static std::unique_ptr< TVirtualCanvasPainterCreate (const TCanvas &canv, bool batch_mode=false)
 Loads the plugin that implements this class. More...
 

Static Protected Member Functions

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

#include <ROOT/TVirtualCanvasPainter.hxx>

Constructor & Destructor Documentation

◆ ~TVirtualCanvasPainter()

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

Default destructor.

The implementation is here to pin the vtable.

Member Function Documentation

◆ AddDisplayItem()

virtual void ROOT::Experimental::Internal::TVirtualCanvasPainter::AddDisplayItem ( TDisplayItem item)
pure virtual

add display item to the canvas

◆ AddPanel()

virtual bool ROOT::Experimental::Internal::TVirtualCanvasPainter::AddPanel ( std::shared_ptr< TWebWindow >  )
inlinevirtual

Definition at line 72 of file TVirtualCanvasPainter.hxx.

◆ CanvasUpdated()

virtual void ROOT::Experimental::Internal::TVirtualCanvasPainter::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::TVirtualCanvasPainter > ROOT::Experimental::Internal::TVirtualCanvasPainter::Create ( const TCanvas canv,
bool  batch_mode = false 
)
static

Loads the plugin that implements this class.

Definition at line 43 of file TVirtualCanvasPainter.cxx.

◆ DoWhenReady()

virtual void ROOT::Experimental::Internal::TVirtualCanvasPainter::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::TVirtualCanvasPainter::Generator > & ROOT::Experimental::Internal::TVirtualCanvasPainter::GetGenerator ( )
staticprotected

generator getter

Definition at line 35 of file TVirtualCanvasPainter.cxx.

◆ IsBatchMode()

virtual bool ROOT::Experimental::Internal::TVirtualCanvasPainter::IsBatchMode ( ) const
inlinevirtual

returns true is canvas used in batch mode

Definition at line 56 of file TVirtualCanvasPainter.hxx.

◆ IsCanvasModified()

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

return true if canvas modified since last painting

◆ NewDisplay()

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

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