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::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 23 of file JsonMonitorable.h.

Constructor & Destructor Documentation

jsoncollector::JsonMonitorable::JsonMonitorable ( )
inline

Definition at line 27 of file JsonMonitorable.h.

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

Definition at line 29 of file JsonMonitorable.h.

29 {}

Member Function Documentation

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

Definition at line 43 of file JsonMonitorable.h.

References name_.

Referenced by jsoncollector::FastMonitor::registerGlobalMonitorable(), and jsoncollector::DataPoint::trackMonitorable().

43  {
44  return name_;
45  }
bool jsoncollector::JsonMonitorable::getNotSame ( )
inline

Definition at line 37 of file JsonMonitorable.h.

References notSame_.

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

Definition at line 35 of file JsonMonitorable.h.

References updates_.

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

35 {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 50 of file JsonMonitorable.h.

Referenced by getName(), and setName().

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