QGDInclude.hh

00001 #ifndef _QGD_INCLUDE_HH_
00002 #define _QGD_INCLUDE_HH_
00003 
00004 #include <TObject.h>
00005 #include <string>
00006 #include <vector>
00007 
00008 class QGDParameter : public TObject {
00009     public:
00010         enum ParType {
00011             PT_Int = 'I',
00012             PT_Float = 'F',
00013             PT_String = 'S',
00014             PT_Bool = 'B',
00015             PT_Unassigned = 'U'
00016         };
00017         std::string fName;
00018         std::string fValue;
00019         ParType fType;
00020         ClassDef(QGDParameter,1);
00021 };
00022 
00023 class QGDCommand : public TObject {
00024 
00025     public:
00026         enum Id {
00027             CmdNone = 0,
00028             CmdNext,
00029             CmdPrev,
00030             CmdJump,
00031             CmdQuit,
00032             CmdRerun,
00033             CmdListMod, 
00034             CmdListPar, 
00035             CmdChangePar, 
00036             CmdSendData,
00037             CmdUnknown,
00038         };
00039 
00040         QGDCommand();
00041 
00042         Id fCommandId;
00043         QGDParameter fParameter1;
00044         QGDParameter fParameter2;
00045 
00046         ClassDef(QGDCommand,1);
00047 };
00048 
00049 class QGDCommandList : public TObject {
00050 
00051     public:
00052         std::vector<QGDCommand::Id> fCommands;
00053 
00054         ClassDef(QGDCommandList,1);
00055 };
00056 
00057 class QGDModuleList : public TObject {
00058     public:
00059         std::vector<std::string> fModules;
00060         ClassDef(QGDModuleList,1);
00061 };
00062 
00063 class QGDModuleParameterList : public TObject {
00064     public:
00065         std::vector<QGDParameter> fParameters;
00066         ClassDef(QGDModuleParameterList,1);
00067 };
00068 
00069 
00070 #endif

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