CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
jsoncollector::JsonMonitorable Class Referenceabstract

#include <JsonMonitorable.h>

Inheritance diagram for jsoncollector::JsonMonitorable:
jsoncollector::HistoJ< unsigned int > jsoncollector::DoubleJ jsoncollector::HistoJ< T > jsoncollector::IntJ jsoncollector::StringJ

Public Member Functions

virtual std::string const & getName () const
 
bool getNotSame () const
 
unsigned int getUpdates ()
 
 JsonMonitorable ()
 
virtual void resetValue ()=0
 
virtual void setName (std::string name)
 
virtual std::string toString () const =0
 
virtual ~JsonMonitorable ()
 

Protected Attributes

std::string name_
 
bool notSame_
 
unsigned int updates_
 

Detailed Description

Definition at line 24 of file JsonMonitorable.h.

Constructor & Destructor Documentation

◆ JsonMonitorable()

jsoncollector::JsonMonitorable::JsonMonitorable ( )
inline

Definition at line 26 of file JsonMonitorable.h.

◆ ~JsonMonitorable()

virtual jsoncollector::JsonMonitorable::~JsonMonitorable ( )
inlinevirtual

Definition at line 28 of file JsonMonitorable.h.

28 {}

Member Function Documentation

◆ getName()

virtual std::string const& jsoncollector::JsonMonitorable::getName ( void  ) const
inlinevirtual

◆ getNotSame()

bool jsoncollector::JsonMonitorable::getNotSame ( ) const
inline

Definition at line 36 of file JsonMonitorable.h.

References notSame_.

◆ getUpdates()

unsigned int jsoncollector::JsonMonitorable::getUpdates ( )
inline

Definition at line 34 of file JsonMonitorable.h.

References updates_.

Referenced by jsoncollector::DataPoint::mergeAndSerialize().

34 { return updates_; }

◆ resetValue()

virtual void jsoncollector::JsonMonitorable::resetValue ( )
pure virtual

◆ setName()

virtual void jsoncollector::JsonMonitorable::setName ( std::string  name)
inlinevirtual

◆ toString()

virtual std::string jsoncollector::JsonMonitorable::toString ( ) const
pure virtual

Member Data Documentation

◆ name_

std::string jsoncollector::JsonMonitorable::name_
protected

Definition at line 43 of file JsonMonitorable.h.

Referenced by getName(), and setName().

◆ notSame_

bool jsoncollector::JsonMonitorable::notSame_
protected

◆ updates_

unsigned int jsoncollector::JsonMonitorable::updates_
protected