Abstract interface for painting a canvas.
Definition at line 37 of file RVirtualCanvasPainter.hxx.
Classes | |
class | Generator |
Public Member Functions | |
virtual | ~RVirtualCanvasPainter () |
Default destructor. | |
virtual bool | AddPanel (std::shared_ptr< ROOT::RWebWindow >) |
virtual void | CanvasUpdated (uint64_t, bool, CanvasCallback_t)=0 |
indicate that canvas changed, provides current version of the canvas | |
virtual void | DoWhenReady (const std::string &, const std::string &, bool, CanvasCallback_t)=0 |
perform special action when drawing is ready | |
virtual std::shared_ptr< ROOT::RWebWindow > | GetWindow ()=0 |
virtual std::string | GetWindowAddr () const =0 |
virtual std::string | GetWindowUrl (bool remote)=0 |
virtual bool | IsCanvasModified (uint64_t) const =0 |
return true if canvas modified since last painting | |
virtual void | NewDisplay (const std::string &where)=0 |
virtual int | NumDisplays () const =0 |
virtual bool | ProduceBatchOutput (const std::string &, int, int)=0 |
produce file output in batch mode like png, jpeg, svg or pdf | |
virtual std::string | ProduceJSON ()=0 |
produce canvas JSON | |
virtual void | Run (double tm=0.)=0 |
run canvas functionality in caller thread, not needed when main thread is used | |
virtual void | SetClearOnClose (const std::shared_ptr< void > &) |
Static Public Member Functions | |
static std::unique_ptr< RVirtualCanvasPainter > | Create (RCanvas &canv) |
Loads the plugin that implements this class. | |
Static Protected Member Functions | |
static std::unique_ptr< Generator > & | GetGenerator () |
generator getter | |
#include <ROOT/RVirtualCanvasPainter.hxx>
|
virtualdefault |
Default destructor.
The implementation is here to pin the vtable.
|
inlinevirtual |
Reimplemented in ROOT::Experimental::RCanvasPainter.
Definition at line 82 of file RVirtualCanvasPainter.hxx.
|
pure virtual |
indicate that canvas changed, provides current version of the canvas
Implemented in ROOT::Experimental::RCanvasPainter.
|
static |
Loads the plugin that implements this class.
Definition at line 42 of file RVirtualCanvasPainter.cxx.
|
pure virtual |
perform special action when drawing is ready
Implemented in ROOT::Experimental::RCanvasPainter.
|
staticprotected |
generator getter
Definition at line 35 of file RVirtualCanvasPainter.cxx.
|
pure virtual |
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
return true if canvas modified since last painting
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
Implemented in ROOT::Experimental::RCanvasPainter.
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
produce file output in batch mode like png, jpeg, svg or pdf
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
produce canvas JSON
Implemented in ROOT::Experimental::RCanvasPainter.
|
pure virtual |
run canvas functionality in caller thread, not needed when main thread is used
Implemented in ROOT::Experimental::RCanvasPainter.
|
inlinevirtual |
Reimplemented in ROOT::Experimental::RCanvasPainter.
Definition at line 84 of file RVirtualCanvasPainter.hxx.