00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __QDAQSTATECOMMAND_HH_
00011 #define __QDAQSTATECOMMAND_HH_
00012
00013 #include <string>
00014 #include "QCuore.hh"
00015 #include "QCommand.hh"
00016 #include "QDaqDefs.hh"
00017 #include "QDaqServer.hh"
00018
00019 class QDaqStateCommand : public QCommand {
00020 public:
00021 QDaqStateCommand();
00022 QDaqStateCommand(const std::string& which);
00023 virtual ~QDaqStateCommand();
00024
00025 virtual void Execute();
00026
00027 virtual void CheckParams();
00028
00029 private:
00030 std::string fCommand;
00031 QDaqCommandCode fCommandCode;
00032
00033 int fSettingsBasket;
00034 int fShifterSet;
00035 int fRun;
00036
00037 bool CheckCommandState(const QDaqState& s);
00038 };
00039
00040 #endif