Belle II Software  release-05-01-25
RFCommand.h
1 #ifndef _Belle2_RFCommand_hh
2 #define _Belle2_RFCommand_hh
3 
4 #include "daq/slc/nsm/NSMCommand.h"
5 
6 namespace Belle2 {
12  class State;
13 
14  class RFCommand : public NSMCommand {
15 
16  public:
17  static const RFCommand CONFIGURE;
18  static const RFCommand UNCONFIGURE;
19  static const RFCommand START;
20  static const RFCommand STOP;
21  static const RFCommand RESTART;
22  static const RFCommand PAUSE;
23  static const RFCommand RESUME;
24  static const RFCommand STATUS;
25 
26  public:
27  RFCommand() {}
28  RFCommand(const Enum& e) : NSMCommand(e) {}
29  RFCommand(const NSMCommand& cmd) : NSMCommand(cmd) {}
30  RFCommand(const RFCommand& cmd) : NSMCommand(cmd) {}
31  RFCommand(const char* label) { *this = label; }
32  ~RFCommand() {}
33 
34  protected:
35  RFCommand(int id, const char* label)
36  : NSMCommand(id, label) {}
37 
38  public:
39  //virtual int isAvailable(const State& state) const;
40  State nextState() const;
41 
42  public:
43  const RFCommand& operator=(const std::string& label);
44  const RFCommand& operator=(const char* label);
45 
46  };
47 
49 }
50 
51 #endif
52 
53 
Belle2::RFCommand
Definition: RFCommand.h:14
Belle2::Enum
Definition: Enum.h:12
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::NSMCommand
Definition: NSMCommand.h:12