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
Definition: fillJson.h:27
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