CMS 3D CMS Logo

MicroStateService.h
Go to the documentation of this file.
1 #ifndef EvFMicroStateService_H
2 #define EvFMicroStateServiceH 1
3 
4 
11 //#include "FWCore/ServiceRegistry/interface/StreamContext.h"
12 
13 //#include "boost/thread/thread.hpp"
14 
15 #include <string>
16 #include <vector>
17 
18 namespace evf{
19 
20 
21 
23  {
24  public:
26  // the names of the states - some of them are never reached in an online app
29  virtual ~MicroStateService();
30 
32 
33  virtual std::string const &getMicroState2(){return default_return_;}
34 
35  virtual void setMicroState(Microstate m)=0;
36  virtual void setMicroState(edm::StreamID sid, Microstate m) = 0;
37 
38  protected:
40  //boost::mutex lock_;
41  };
42 
43 }
44 
45 #endif
virtual std::string const & getMicroState2()
static const edm::ModuleDescription reservedMicroStateNames[mCOUNT]
MicroStateService(const edm::ParameterSet &, edm::ActivityRegistry &)
virtual std::string getMicroState1()
static const std::string default_return_
virtual void setMicroState(Microstate m)=0