Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
 
bool IsValid () override
 
void SetActive () override
 
void Show (const std::string &arg) override
 
- Public Member Functions inherited from ROOT::RBrowserWidget
 RBrowserWidget (const std::string &name)
 
virtual ~RBrowserWidget ()=default
 
RBrowserGetBrowser () const
 
const std::string & GetName () const
 
const Browsable::RElementPath_tGetPath () const
 
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.
 
void SetPath (const Browsable::RElementPath_t &path)
 

Private Member Functions

bool CheckCanvasPointer ()
 
void RegisterCanvasInGlobalLists ()
 
void SetPrivateCanvasFields (bool on_init)
 

Private Attributes

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

Constructor & Destructor Documentation

◆ RBrowserTCanvasWidget() [1/2]

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

Definition at line 107 of file RBrowserTCanvasWidget.cxx.

◆ RBrowserTCanvasWidget() [2/2]

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

Definition at line 137 of file RBrowserTCanvasWidget.cxx.

◆ ~RBrowserTCanvasWidget()

virtual RBrowserTCanvasWidget::~RBrowserTCanvasWidget ( )
inlinevirtual

Definition at line 159 of file RBrowserTCanvasWidget.cxx.

Member Function Documentation

◆ CheckCanvasPointer()

bool RBrowserTCanvasWidget::CheckCanvasPointer ( )
inlineprivate

Definition at line 38 of file RBrowserTCanvasWidget.cxx.

◆ CheckModified()

void RBrowserTCanvasWidget::CheckModified ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 264 of file RBrowserTCanvasWidget.cxx.

◆ DrawElement()

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

Reimplemented from ROOT::RBrowserWidget.

Definition at line 208 of file RBrowserTCanvasWidget.cxx.

◆ GetKind()

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

Implements ROOT::RBrowserWidget.

Definition at line 182 of file RBrowserTCanvasWidget.cxx.

◆ GetTitle()

std::string RBrowserTCanvasWidget::GetTitle ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 203 of file RBrowserTCanvasWidget.cxx.

◆ GetUrl()

std::string RBrowserTCanvasWidget::GetUrl ( )
inlineoverridevirtual

Implements ROOT::RBrowserWidget.

Definition at line 196 of file RBrowserTCanvasWidget.cxx.

◆ IsValid()

bool RBrowserTCanvasWidget::IsValid ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 270 of file RBrowserTCanvasWidget.cxx.

◆ RegisterCanvasInGlobalLists()

void RBrowserTCanvasWidget::RegisterCanvasInGlobalLists ( )
inlineprivate

Definition at line 94 of file RBrowserTCanvasWidget.cxx.

◆ SetActive()

void RBrowserTCanvasWidget::SetActive ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 184 of file RBrowserTCanvasWidget.cxx.

◆ SetPrivateCanvasFields()

void RBrowserTCanvasWidget::SetPrivateCanvasFields ( bool  on_init)
inlineprivate

Definition at line 51 of file RBrowserTCanvasWidget.cxx.

◆ Show()

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

Implements ROOT::RBrowserWidget.

Definition at line 190 of file RBrowserTCanvasWidget.cxx.

Member Data Documentation

◆ fCanvas

TCanvas* RBrowserTCanvasWidget::fCanvas {nullptr}
private

! last canvas pointer

Definition at line 33 of file RBrowserTCanvasWidget.cxx.

◆ fCanvasName

TString RBrowserTCanvasWidget::fCanvasName
private

! canvas name

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 36 of file RBrowserTCanvasWidget.cxx.

◆ fWebCanvas

TWebCanvas* RBrowserTCanvasWidget::fWebCanvas {nullptr}
private

! web implementation, owned by TCanvas

Definition at line 34 of file RBrowserTCanvasWidget.cxx.

  • gui/browserv7/src/RBrowserTCanvasWidget.cxx