ATLAS Offline Software
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
Monitored::IMonitoredVariable Class Referenceabstract

#include <IMonitoredVariable.h>

Inheritance diagram for Monitored::IMonitoredVariable:
Collaboration diagram for Monitored::IMonitoredVariable:

Public Member Functions

virtual ~IMonitoredVariable ()
 
const std::string & name () const
 
virtual double get (size_t) const =0
 
virtual std::string getString (size_t) const =0
 
virtual bool hasStringRepresentation () const =0
 indcates that the stored content can be converted to strings More...
 
virtual size_t size () const =0
 gives size of vector representation More...
 

Public Attributes

friend MonitoredGroup
 

Protected Member Functions

 IMonitoredVariable (std::string name)
 

Private Attributes

const std::string m_name
 

Detailed Description

Definition at line 14 of file IMonitoredVariable.h.

Constructor & Destructor Documentation

◆ ~IMonitoredVariable()

virtual Monitored::IMonitoredVariable::~IMonitoredVariable ( )
inlinevirtual

Definition at line 17 of file IMonitoredVariable.h.

17 {}

◆ IMonitoredVariable()

Monitored::IMonitoredVariable::IMonitoredVariable ( std::string  name)
inlineprotected

Definition at line 27 of file IMonitoredVariable.h.

28  : m_name(std::move(name)) {}

Member Function Documentation

◆ get()

virtual double Monitored::IMonitoredVariable::get ( size_t  ) const
pure virtual

◆ getString()

virtual std::string Monitored::IMonitoredVariable::getString ( size_t  ) const
pure virtual

Implemented in Monitored::Scalar< T >.

◆ hasStringRepresentation()

virtual bool Monitored::IMonitoredVariable::hasStringRepresentation ( ) const
pure virtual

indcates that the stored content can be converted to strings

Implemented in Monitored::Scalar< T >, and Monitored::Timer< unit >.

◆ name()

const std::string& Monitored::IMonitoredVariable::name ( ) const
inline

Definition at line 19 of file IMonitoredVariable.h.

19 { return m_name; }

◆ size()

virtual size_t Monitored::IMonitoredVariable::size ( ) const
pure virtual

gives size of vector representation

Implemented in Monitored::Scalar< T >, and Monitored::Timer< unit >.

Member Data Documentation

◆ m_name

const std::string Monitored::IMonitoredVariable::m_name
private

Definition at line 31 of file IMonitoredVariable.h.

◆ MonitoredGroup

friend Monitored::IMonitoredVariable::MonitoredGroup

Definition at line 16 of file IMonitoredVariable.h.


The documentation for this class was generated from the following file:
Monitored::IMonitoredVariable::name
const std::string & name() const
Definition: IMonitoredVariable.h:19
Monitored::IMonitoredVariable::m_name
const std::string m_name
Definition: IMonitoredVariable.h:31