Logo ROOT  
Reference Guide
RBrowserTCanvasWidget Class Reference

Definition at line 30 of file RBrowserTCanvasWidget.cxx.

Public Member Functions

 RBrowserTCanvasWidget (const std::string &name)
 
 RBrowserTCanvasWidget (const std::string &name, std::unique_ptr< TCanvas > &canv)
 
virtual ~RBrowserTCanvasWidget ()
 
void CheckModified () override
 
bool DrawElement (std::shared_ptr< Browsable::RElement > &elem, const std::string &opt="") override
 
std::string GetKind () const override
 
std::string GetTitle () override
 
std::string GetUrl () override
 
void SetActive () override
 
void Show (const std::string &arg) override
 
- Public Member Functions inherited from ROOT::Experimental::RBrowserWidget
 RBrowserWidget (const std::string &name)
 
virtual ~RBrowserWidget ()=default
 
virtual void CheckModified ()
 
virtual bool DrawElement (std::shared_ptr< Browsable::RElement > &, const std::string &="")
 
RBrowserGetBrowser () const
 
virtual std::string GetKind () const =0
 
const std::string & GetName () const
 
const Browsable::RElementPath_tGetPath () const
 
virtual std::string GetTitle ()
 
virtual std::string GetUrl ()=0
 
virtual void ResetConn ()
 
virtual std::string SendWidgetContent ()
 
std::string SendWidgetTitle ()
 Returns string which can be send to browser client to set/change title of the widget tab. More...
 
virtual void SetActive ()
 
void SetPath (const Browsable::RElementPath_t &path)
 
virtual void Show (const std::string &)=0
 

Private Member Functions

void SetPrivateCanvasFields (bool on_init)
 

Private Attributes

std::unique_ptr< TCanvasfCanvas
 ! drawn canvas More...
 
std::multimap< TVirtualPad *, std::unique_ptr< Browsable::RHolder > > fObjects
 ! objects holder, associated with pads More...
 
TWebCanvasfWebCanvas {nullptr}
 ! web implementation, owned by TCanvas More...
 
Inheritance diagram for RBrowserTCanvasWidget:
[legend]

Constructor & Destructor Documentation

◆ RBrowserTCanvasWidget() [1/2]

RBrowserTCanvasWidget::RBrowserTCanvasWidget ( const std::string &  name)
inline

Definition at line 83 of file RBrowserTCanvasWidget.cxx.

◆ RBrowserTCanvasWidget() [2/2]

RBrowserTCanvasWidget::RBrowserTCanvasWidget ( const std::string &  name,
std::unique_ptr< TCanvas > &  canv 
)
inline

Definition at line 109 of file RBrowserTCanvasWidget.cxx.

◆ ~RBrowserTCanvasWidget()

virtual RBrowserTCanvasWidget::~RBrowserTCanvasWidget ( )
inlinevirtual

Definition at line 128 of file RBrowserTCanvasWidget.cxx.

Member Function Documentation

◆ CheckModified()

void RBrowserTCanvasWidget::CheckModified ( )
inlineoverridevirtual

Reimplemented from ROOT::Experimental::RBrowserWidget.

Definition at line 215 of file RBrowserTCanvasWidget.cxx.

◆ DrawElement()

bool RBrowserTCanvasWidget::DrawElement ( std::shared_ptr< Browsable::RElement > &  elem,
const std::string &  opt = "" 
)
inlineoverridevirtual

Reimplemented from ROOT::Experimental::RBrowserWidget.

Definition at line 164 of file RBrowserTCanvasWidget.cxx.

◆ GetKind()

std::string RBrowserTCanvasWidget::GetKind ( ) const
inlineoverridevirtual

Implements ROOT::Experimental::RBrowserWidget.

Definition at line 142 of file RBrowserTCanvasWidget.cxx.

◆ GetTitle()

std::string RBrowserTCanvasWidget::GetTitle ( )
inlineoverridevirtual

Reimplemented from ROOT::Experimental::RBrowserWidget.

Definition at line 159 of file RBrowserTCanvasWidget.cxx.

◆ GetUrl()

std::string RBrowserTCanvasWidget::GetUrl ( )
inlineoverridevirtual

Implements ROOT::Experimental::RBrowserWidget.

Definition at line 154 of file RBrowserTCanvasWidget.cxx.

◆ SetActive()

void RBrowserTCanvasWidget::SetActive ( )
inlineoverridevirtual

Reimplemented from ROOT::Experimental::RBrowserWidget.

Definition at line 144 of file RBrowserTCanvasWidget.cxx.

◆ SetPrivateCanvasFields()

void RBrowserTCanvasWidget::SetPrivateCanvasFields ( bool  on_init)
inlineprivate

Definition at line 37 of file RBrowserTCanvasWidget.cxx.

◆ Show()

void RBrowserTCanvasWidget::Show ( const std::string &  arg)
inlineoverridevirtual

Implements ROOT::Experimental::RBrowserWidget.

Definition at line 149 of file RBrowserTCanvasWidget.cxx.

Member Data Documentation

◆ fCanvas

std::unique_ptr<TCanvas> RBrowserTCanvasWidget::fCanvas
private

! drawn canvas

Definition at line 32 of file RBrowserTCanvasWidget.cxx.

◆ fObjects

std::multimap<TVirtualPad *, std::unique_ptr<Browsable::RHolder> > RBrowserTCanvasWidget::fObjects
private

! objects holder, associated with pads

Definition at line 35 of file RBrowserTCanvasWidget.cxx.

◆ fWebCanvas

TWebCanvas* RBrowserTCanvasWidget::fWebCanvas {nullptr}
private

! web implementation, owned by TCanvas

Definition at line 33 of file RBrowserTCanvasWidget.cxx.


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