CMS 3D CMS Logo

MicroStateService.h
Go to the documentation of this file.
1 #ifndef EvFMicroStateService_H
2 #define EvFMicroStateService_H 1
3 
10 //#include "FWCore/ServiceRegistry/interface/StreamContext.h"
11 
12 //#include "boost/thread/thread.hpp"
13 
14 #include <string>
15 #include <vector>
16 
17 namespace evf {
18 
20  public:
21  enum Microstate {
22  mInvalid = 0,
33  };
34  // the names of the states - some of them are never reached in an online app
37  virtual ~MicroStateService();
38 
40 
41  virtual std::string const &getMicroState2() { return default_return_; }
42 
43  virtual void setMicroState(Microstate m) = 0;
44  virtual void setMicroState(edm::StreamID sid, Microstate m) = 0;
45 
46  protected:
48  //boost::mutex lock_;
49  };
50 
51 } // namespace evf
52 
53 #endif
evf::MicroStateService::mGlobEoL
Definition: MicroStateService.h:31
edm::StreamID
Definition: StreamID.h:30
evf::MicroStateService::mCOUNT
Definition: MicroStateService.h:32
evf::MicroStateService::getMicroState1
virtual std::string getMicroState1()
Definition: MicroStateService.h:39
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
ModuleDescription.h
ActivityRegistry.h
evf::MicroStateService::mIdle
Definition: MicroStateService.h:23
evf::MicroStateService::getMicroState2
virtual const std::string & getMicroState2()
Definition: MicroStateService.h:41
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
EventID.h
edm::ActivityRegistry
Definition: ActivityRegistry.h:133
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
evf::MicroStateService::MicroStateService
MicroStateService(const edm::ParameterSet &, edm::ActivityRegistry &)
Definition: MicroStateService.cc:19
edm::ParameterSet
Definition: ParameterSet.h:47
Timestamp.h
evf::MicroStateService::mFwkOvhMod
Definition: MicroStateService.h:25
evf::MicroStateService::mBoL
Definition: MicroStateService.h:29
evf::MicroStateService::setMicroState
virtual void setMicroState(Microstate m)=0
evf
Definition: fillJson.h:27
ParameterSetID.h
evf::MicroStateService::Microstate
Microstate
Definition: MicroStateService.h:21
ParameterSet.h
evf::MicroStateService::~MicroStateService
virtual ~MicroStateService()
Definition: MicroStateService.cc:21
evf::MicroStateService
Definition: MicroStateService.h:19
evf::MicroStateService::reservedMicroStateNames
static const edm::ModuleDescription reservedMicroStateNames[mCOUNT]
Definition: MicroStateService.h:35