test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 & getName ()
 
bool getNotSame ()
 
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

jsoncollector::JsonMonitorable::JsonMonitorable ( )
inline

Definition at line 28 of file JsonMonitorable.h.

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

Definition at line 30 of file JsonMonitorable.h.

30 {}

Member Function Documentation

virtual std::string& jsoncollector::JsonMonitorable::getName ( void  )
inlinevirtual
bool jsoncollector::JsonMonitorable::getNotSame ( )
inline

Definition at line 38 of file JsonMonitorable.h.

References notSame_.

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

Definition at line 36 of file JsonMonitorable.h.

References updates_.

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

36 {return updates_;}
virtual void jsoncollector::JsonMonitorable::resetValue ( )
pure virtual
virtual void jsoncollector::JsonMonitorable::setName ( std::string  name)
inlinevirtual
virtual std::string jsoncollector::JsonMonitorable::toString ( ) const
pure virtual

Member Data Documentation

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

Definition at line 51 of file JsonMonitorable.h.

Referenced by getName(), and setName().

bool jsoncollector::JsonMonitorable::notSame_
protected
unsigned int jsoncollector::JsonMonitorable::updates_
protected