00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _QBESSEL_HH_
00016 #define _QBESSEL_HH_
00017
00018
00019
00020
00021 #include "QBaseEleDevice.hh"
00022
00023
00024 class QBSChannel;
00025 class QEleBaseInterface;
00026
00027 class QBessel: public QBaseEleDevice {
00028 public:
00029
00030
00031 QBessel(QEleBaseInterface* IFace, QSlowTypes::QSlowMode_t Mode,
00032 std::map<unsigned short,QDaqChannel>& Channels);
00033
00034
00035 virtual ~QBessel();
00036
00037
00038 virtual const QError& SetInt (int Id, unsigned int Value,const std::string& What, QAddressing_t Add);
00039 virtual const QError& GetInt (int Id, unsigned int &Value, const std::string& What, QAddressing_t Add);
00040 virtual const QError& GetString(int Id, std::string& Text, const std::string& What, QAddressing_t Add);
00041 virtual const QError& Start (int lg, const std::string& What, QAddressing_t Add) {return fErr->GetQError();}
00042
00043
00044
00045 virtual const QError& SetInt(int BSCrate, int BSBoard, int BSChannel,
00046 unsigned int Value, const std::string& What);
00047 virtual const QError& GetInt(int BSCrate, int BSBoard, int BSChannel,
00048 unsigned int& Value, const std::string& What);
00049 virtual const QError& Start (int BSCrate, int BSBoard, int BEChannel,
00050 const std::string& What) {return fErr->GetQError();}
00051
00052 protected:
00053
00054
00055
00056 const QError& HDSetValue(QEleChannel* Ch, size_t Value, const std::string& What);
00057
00058
00059 const QError& HDGetValue(QEleChannel* Ch, size_t& Value, const std::string& What);
00060
00061
00062 private:
00063
00064
00065
00066
00067 };
00068
00069 #endif // _QBESSEL_HH_