Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::RVirtualCanvasPainter Class Referenceabstract

Abstract interface for painting a canvas.

Author
Axel Naumann axel@.nosp@m.cern.nosp@m..ch
Date
2017-05-31
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 34 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 std::string GetWindowAddr () const =0
 
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...
 

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...
 

#include <ROOT/RVirtualCanvasPainter.hxx>

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 69 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 41 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 34 of file RVirtualCanvasPainter.cxx.

◆ GetWindowAddr()

virtual std::string ROOT::Experimental::Internal::RVirtualCanvasPainter::GetWindowAddr ( ) const
pure virtual

◆ 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: