Logo ROOT  
Reference Guide
ROOT::Experimental::RHistDrawable< DIMENSIONS > Class Template Referencefinal

template<int DIMENSIONS>
class ROOT::Experimental::RHistDrawable< DIMENSIONS >

Definition at line 39 of file RHistDrawable.hxx.

Public Types

using HistImpl_t = Detail::RHistImplPrecisionAgnosticBase< DIMENSIONS >
 

Public Member Functions

 RHistDrawable ()
 
template<class HIST >
 RHistDrawable (const std::shared_ptr< HIST > &hist)
 
virtual ~RHistDrawable ()=default
 
RAttrLineAttrLine ()
 
void Execute (const std::string &) final
 
const RAttrLineGetAttrLine () const
 
std::shared_ptr< HistImpl_tGetHist () const
 
void PopulateMenu (RMenuItems &) final
 Method can be used to provide menu items for the drawn object. More...
 
RHistDrawableSetAttrLine (const RAttrLine &attr)
 
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const std::string &type)
 
virtual ~RDrawable ()
 
void ClearStyle ()
 
virtual void Execute (const std::string &)
 
const std::string & GetCssClass () const
 
const std::string & GetCssType () const
 
const std::string & GetId () const
 
virtual void PopulateMenu (RMenuItems &)
 Method can be used to provide menu items for the drawn object. More...
 
void SetCssClass (const std::string &cl)
 
void SetId (const std::string &id)
 
virtual void UseStyle (const std::shared_ptr< RStyle > &style)
 

Protected Member Functions

void CollectShared (Internal::RIOSharedVector_t &vect) final
 
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
virtual void CollectShared (Internal::RIOSharedVector_t &)
 
virtual std::unique_ptr< RDisplayItemDisplay () const
 Creates display item for drawable By default item contains drawble data itself. More...
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () const
 
bool MatchSelector (const std::string &selector) const
 Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method. More...
 

Private Attributes

RAttrLine fAttrLine {this, "line_"}
 ! line attributes More...
 
Internal::RIOShared< HistImpl_tfHistImpl
 I/O capable reference on histogram. More...
 

#include <ROOT/RHistDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RHistDrawable< DIMENSIONS >:
[legend]

Member Typedef Documentation

◆ HistImpl_t

template<int DIMENSIONS>
using ROOT::Experimental::RHistDrawable< DIMENSIONS >::HistImpl_t = Detail::RHistImplPrecisionAgnosticBase<DIMENSIONS>

Definition at line 41 of file RHistDrawable.hxx.

Constructor & Destructor Documentation

◆ RHistDrawable() [1/2]

template<int DIMENSIONS>
ROOT::Experimental::RHistDrawable< DIMENSIONS >::RHistDrawable
inline

Definition at line 85 of file RHistDrawable.hxx.

◆ ~RHistDrawable()

template<int DIMENSIONS>
virtual ROOT::Experimental::RHistDrawable< DIMENSIONS >::~RHistDrawable ( )
virtualdefault

◆ RHistDrawable() [2/2]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::RHistDrawable< DIMENSIONS >::RHistDrawable ( const std::shared_ptr< HIST > &  hist)
inline

Definition at line 57 of file RHistDrawable.hxx.

Member Function Documentation

◆ AttrLine()

template<int DIMENSIONS>
RAttrLine & ROOT::Experimental::RHistDrawable< DIMENSIONS >::AttrLine ( )
inline

Definition at line 64 of file RHistDrawable.hxx.

◆ CollectShared()

template<int DIMENSIONS>
void ROOT::Experimental::RHistDrawable< DIMENSIONS >::CollectShared ( Internal::RIOSharedVector_t vect)
inlinefinalprotectedvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 50 of file RHistDrawable.hxx.

◆ Execute()

template<int DIMENSIONS>
void ROOT::Experimental::RHistDrawable< DIMENSIONS >::Execute ( const std::string &  )
inlinefinalvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 73 of file RHistDrawable.hxx.

◆ GetAttrLine()

template<int DIMENSIONS>
const RAttrLine & ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetAttrLine ( ) const
inline

Definition at line 62 of file RHistDrawable.hxx.

◆ GetHist()

template<int DIMENSIONS>
std::shared_ptr< HistImpl_t > ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetHist ( ) const
inline

Definition at line 66 of file RHistDrawable.hxx.

◆ PopulateMenu()

template<int DIMENSIONS>
void ROOT::Experimental::RHistDrawable< DIMENSIONS >::PopulateMenu ( RMenuItems )
inlinefinalvirtual

Method can be used to provide menu items for the drawn object.

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 68 of file RHistDrawable.hxx.

◆ SetAttrLine()

template<int DIMENSIONS>
RHistDrawable & ROOT::Experimental::RHistDrawable< DIMENSIONS >::SetAttrLine ( const RAttrLine attr)
inline

Definition at line 63 of file RHistDrawable.hxx.

Member Data Documentation

◆ fAttrLine

template<int DIMENSIONS>
RAttrLine ROOT::Experimental::RHistDrawable< DIMENSIONS >::fAttrLine {this, "line_"}
private

! line attributes

Definition at line 46 of file RHistDrawable.hxx.

◆ fHistImpl

template<int DIMENSIONS>
Internal::RIOShared<HistImpl_t> ROOT::Experimental::RHistDrawable< DIMENSIONS >::fHistImpl
private

I/O capable reference on histogram.

Definition at line 44 of file RHistDrawable.hxx.


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