QDaqStateCommand.hh

00001 /*
00002 * APOLLO: A complete DAQ and Online Data Analysis Framework for Cuore 
00003 * $Id: QDaqStateCommand.hh 274 2006-07-27 16:50:56Z pallas $
00004 * M.P. created 28/10/4
00005 * 
00006 * Class QDaqStateCommand: commands that change state (start,stop...)
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

Generated on Fri Mar 6 13:40:39 2009 for CUORE Software by  doxygen 1.5.1