Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RBrowserWidgetProvider Class Referenceabstract

Definition at line 72 of file RBrowserWidget.hxx.

Public Member Functions

 RBrowserWidgetProvider (const std::string &kind)
 Constructor.
 
virtual ~RBrowserWidgetProvider ()
 Destructor.
 

Static Public Member Functions

static std::shared_ptr< RBrowserWidgetCreateWidget (const std::string &kind, const std::string &name)
 Create specified widget.
 
static std::shared_ptr< RBrowserWidgetCreateWidgetFor (const std::string &kind, const std::string &name, std::shared_ptr< Browsable::RElement > &element)
 Create specified widget for existing object.
 

Protected Types

using ProvidersMap_t = std::map< std::string, RBrowserWidgetProvider * >
 

Protected Member Functions

virtual std::shared_ptr< RBrowserWidgetCreate (const std::string &)=0
 
virtual std::shared_ptr< RBrowserWidgetCreateFor (const std::string &, std::shared_ptr< Browsable::RElement > &)
 

Static Protected Member Functions

static ProvidersMap_tGetMap ()
 Returns static map of existing providers.
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/gui/browserv7/src/RBrowserWidget.hxx>

Inheritance diagram for ROOT::RBrowserWidgetProvider:
[legend]

Member Typedef Documentation

◆ ProvidersMap_t

using ROOT::RBrowserWidgetProvider::ProvidersMap_t = std::map<std::string, RBrowserWidgetProvider*>
protected

Definition at line 74 of file RBrowserWidget.hxx.

Constructor & Destructor Documentation

◆ RBrowserWidgetProvider()

RBrowserWidgetProvider::RBrowserWidgetProvider ( const std::string &  kind)
explicit

Constructor.

Definition at line 37 of file RBrowserWidget.cxx.

◆ ~RBrowserWidgetProvider()

RBrowserWidgetProvider::~RBrowserWidgetProvider ( )
virtual

Destructor.

Definition at line 45 of file RBrowserWidget.cxx.

Member Function Documentation

◆ Create()

virtual std::shared_ptr< RBrowserWidget > ROOT::RBrowserWidgetProvider::Create ( const std::string &  )
protectedpure virtual

◆ CreateFor()

virtual std::shared_ptr< RBrowserWidget > ROOT::RBrowserWidgetProvider::CreateFor ( const std::string &  ,
std::shared_ptr< Browsable::RElement > &   
)
inlineprotectedvirtual

Reimplemented in RBrowserTCanvasProvider, and RBrowserRCanvasProvider.

Definition at line 78 of file RBrowserWidget.hxx.

◆ CreateWidget()

std::shared_ptr< RBrowserWidget > RBrowserWidgetProvider::CreateWidget ( const std::string &  kind,
const std::string &  name 
)
static

Create specified widget.

Definition at line 67 of file RBrowserWidget.cxx.

◆ CreateWidgetFor()

std::shared_ptr< RBrowserWidget > RBrowserWidgetProvider::CreateWidgetFor ( const std::string &  kind,
const std::string &  name,
std::shared_ptr< Browsable::RElement > &  element 
)
static

Create specified widget for existing object.

Definition at line 91 of file RBrowserWidget.cxx.

◆ GetMap()

RBrowserWidgetProvider::ProvidersMap_t & RBrowserWidgetProvider::GetMap ( )
staticprotected

Returns static map of existing providers.

Definition at line 58 of file RBrowserWidget.cxx.


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