CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Attributes | Static Protected Attributes
evf::MicroStateService Class Referenceabstract

#include <MicroStateService.h>

Inheritance diagram for evf::MicroStateService:
evf::FastMonitoringService evf::MicroStateServiceClassic

Public Types

enum  Microstate {
  mInvalid = 0, mIdle, mFwkOvhSrc, mFwkOvhMod,
  mFwkEoL, mInput, mDqm, mBoL,
  mEoL, mGlobEoL, mCOUNT
}
 

Public Member Functions

virtual std::string getMicroState1 ()
 
virtual const std::string & getMicroState2 ()
 
 MicroStateService (const edm::ParameterSet &, edm::ActivityRegistry &)
 
virtual void setMicroState (edm::StreamID sid, Microstate m)=0
 
virtual void setMicroState (Microstate m)=0
 
virtual ~MicroStateService ()
 

Static Public Attributes

static const edm::ModuleDescription reservedMicroStateNames [mCOUNT]
 

Static Protected Attributes

static const std::string default_return_ = "NotImplemented"
 

Detailed Description

Definition at line 19 of file MicroStateService.h.

Member Enumeration Documentation

◆ Microstate

Enumerator
mInvalid 
mIdle 
mFwkOvhSrc 
mFwkOvhMod 
mFwkEoL 
mInput 
mDqm 
mBoL 
mEoL 
mGlobEoL 
mCOUNT 

Definition at line 21 of file MicroStateService.h.

21  {
22  mInvalid = 0,
23  mIdle,
24  mFwkOvhSrc,
25  mFwkOvhMod,
26  mFwkEoL,
27  mInput,
28  mDqm,
29  mBoL,
30  mEoL,
31  mGlobEoL,
32  mCOUNT
33  };

Constructor & Destructor Documentation

◆ MicroStateService()

evf::MicroStateService::MicroStateService ( const edm::ParameterSet iPS,
edm::ActivityRegistry reg 
)

Definition at line 19 of file MicroStateService.cc.

19 {}

◆ ~MicroStateService()

evf::MicroStateService::~MicroStateService ( )
virtual

Definition at line 21 of file MicroStateService.cc.

21 {}

Member Function Documentation

◆ getMicroState1()

virtual std::string evf::MicroStateService::getMicroState1 ( )
inlinevirtual

Reimplemented in evf::MicroStateServiceClassic.

Definition at line 39 of file MicroStateService.h.

39 { return default_return_; }

References default_return_.

◆ getMicroState2()

virtual const std::string& evf::MicroStateService::getMicroState2 ( )
inlinevirtual

Reimplemented in evf::MicroStateServiceClassic.

Definition at line 41 of file MicroStateService.h.

41 { return default_return_; }

References default_return_.

◆ setMicroState() [1/2]

virtual void evf::MicroStateService::setMicroState ( edm::StreamID  sid,
Microstate  m 
)
pure virtual

Implemented in evf::FastMonitoringService.

◆ setMicroState() [2/2]

virtual void evf::MicroStateService::setMicroState ( Microstate  m)
pure virtual

Member Data Documentation

◆ default_return_

const std::string evf::MicroStateService::default_return_ = "NotImplemented"
staticprotected

Definition at line 47 of file MicroStateService.h.

Referenced by getMicroState1(), and getMicroState2().

◆ reservedMicroStateNames

const edm::ModuleDescription evf::MicroStateService::reservedMicroStateNames
static
evf::MicroStateService::mGlobEoL
Definition: MicroStateService.h:31
evf::MicroStateService::mCOUNT
Definition: MicroStateService.h:32
evf::MicroStateService::mFwkOvhSrc
Definition: MicroStateService.h:24
evf::MicroStateService::default_return_
static const std::string default_return_
Definition: MicroStateService.h:47
evf::MicroStateService::mDqm
Definition: MicroStateService.h:28
evf::MicroStateService::mInput
Definition: MicroStateService.h:27
evf::MicroStateService::mFwkEoL
Definition: MicroStateService.h:26
evf::MicroStateService::mEoL
Definition: MicroStateService.h:30
edm::ModuleDescription
Definition: ModuleDescription.h:21
evf::MicroStateService::mInvalid
Definition: MicroStateService.h:22
evf::MicroStateService::mIdle
Definition: MicroStateService.h:23
evf::MicroStateService::mFwkOvhMod
Definition: MicroStateService.h:25
evf::MicroStateService::mBoL
Definition: MicroStateService.h:29