QSlowGetCommand.hh
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _QSLOW_GET_COMMAND_HH_
00016 #define _QSLOW_GET_COMMAND_HH_
00017
00018
00019 #include <map>
00020 #include <string>
00021
00022
00023 #include "QCuore.hh"
00024 #include "QSlowBaseCommand.hh"
00025
00026 class QSlowGetCommand : public QSlowBaseCommand {
00027 public:
00028
00029
00030 QSlowGetCommand();
00031
00032
00033 virtual ~QSlowGetCommand();
00034
00035
00036 virtual void Execute();
00037
00038
00039 virtual void CheckParams();
00040
00041 private:
00042
00043
00044 void GetHardwareValue(QError& ErrorRet, QSlowTarget_t Target, QSlowEleCommand_t CmdCode,
00045 std::string& sValue, QSlowBoolType_t Type=QSLOW_NO_BOOL);
00046
00047
00048 void GetHardwareText (QError& ErrorRet, QSlowTarget_t Target, QSlowEleCommand_t CmdCode, std::string& sValue);
00049
00050
00051 void GetFromServer (QError& ErrorRet, QSlowEleCommand_t CmdCode, std::string& sValue);
00052
00053 void GetInterface(QError& ErrorRet, std::string& sValue);
00054
00055
00056
00057 void GetFromPowerSupply (QError& ErrorRet, QSlowEleCommand_t CmdCode, std::string& sValue);
00058
00059
00060 };
00061
00062 #endif // _QSLOW_GET_COMMAND_HH_