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.

26 : updates_(0), notSame_(false) {}

◆ ~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.

36 { return notSame_; }

References notSame_.

◆ getUpdates()

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

Definition at line 34 of file JsonMonitorable.h.

34 { return updates_; }

References updates_.

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

◆ 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
jsoncollector::JsonMonitorable::updates_
unsigned int updates_
Definition: JsonMonitorable.h:44
jsoncollector::JsonMonitorable::notSame_
bool notSame_
Definition: JsonMonitorable.h:45
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
jsoncollector::JsonMonitorable::name_
std::string name_
Definition: JsonMonitorable.h:43