00001 /*00002 * APOLLO: A complete DAQ and Online Data Analysis Framework for Cuore00003 * 00004 * A.Giachero created 06/03/07 - <Andrea.Giachero@ge.infn.it> 00005 * 00006 $ $Id: QFrontEnd.hh 261 2007-03-06 13:38:31Z giachero $00007 * $Revision: 261 $00008 *00009 * Class QFrontEnd: commands for "setting" and "getting" Front-End Boards 00010 * 00011 *00012 */00013
00014
00015 #ifndef _QBESSEL_HH_00016 #define _QBESSEL_HH_00017
00018
00019
00020 // Apollo Includs00021 #include "QBaseEleDevice.hh"00022
00023
00024 class QBSChannel;
00025 class QEleBaseInterface;
00026
00027 class QBessel: publicQBaseEleDevice {
00028 public:
00029
00030 // ctor00031 QBessel(QEleBaseInterface* IFace, QSlowTypes::QSlowMode_t Mode,
00032 std::map<unsigned int,QDaqChannel>& Channels);
00033
00034 // dtor00035 virtual ~QBessel();
00036
00037 // Commands by Logical Channel00038 virtualconstQError& SetInt (int Id, unsignedint Value,const std::string& What, QAddressing_t Add);
00039 virtualconstQError& GetInt (int Id, unsignedint &Value, const std::string& What, QAddressing_t Add);
00040 virtualconstQError& GetString(int Id, std::string& Text, const std::string& What, QAddressing_t Add);
00041 virtualconstQError& Start (int lg, const std::string& What, QAddressing_t Add) {returnfErr->GetQError();}
00042
00043
00044 // The same by physical Channel00045 virtualconstQError& SetInt(int BSCrate, int BSBoard, int BSChannel,
00046 unsignedint Value, const std::string& What);
00047 virtualconstQError& GetInt(int BSCrate, int BSBoard, int BSChannel,
00048 unsignedint& Value, const std::string& What);
00049 virtualconstQError& Start (int BSCrate, int BSBoard, int BEChannel,
00050 const std::string& What) {returnfErr->GetQError();}
00051
00052 protected:
00053
00054
00055 // Set parameter (value) on the hardware00056 constQError& HDSetValue(QEleChannel* Ch, size_t Value, const std::string& What);
00057
00058 // Get parameter (value) from the harware00059 constQError& HDGetValue(QEleChannel* Ch, size_t& Value, const std::string& What);
00060
00061
00062 private:
00063
00064
00065
00066
00067 };
00068
00069 #endif // _QBESSEL_HH_
Generated on Tue Nov 16 10:49:55 2010 for CUORE Software by
1.5.6
In questo sito non sono utilizzati cookie per la profilazione degli utenti. Utilizza cookie di sessione, necessari per il corretto funzionamento dello stesso e per gestire l'autenticazione ai servizi on-line, alla intranet e alle aree riservate... leggi tutto