00001 // ===================================================================== 00024 // ===================================================================== 00025 #ifndef CLDAQ__TCAMACSWITCHREGISTERMODULE_HH 00026 #define CLDAQ__TCAMACSWITCHREGISTERMODULE_HH 00027 00028 #include "Tglobals.h" 00029 #include "TCamacModule.hh" 00030 00031 class TDataSegment; 00032 class TDataElement; 00033 00034 00054 class TCamacSwitchRegisterModule 00055 : public TCamacModule 00056 { 00057 00058 public: 00059 TCamacSwitchRegisterModule( TCamacCrateController* cc7x00, Tint slot, Tint nch = 2, Tdata_t datalen = t24bitModule ); 00060 TCamacSwitchRegisterModule( const TCamacSwitchRegisterModule& right ); 00061 ~TCamacSwitchRegisterModule(); 00062 00063 public: 00064 const TCamacSwitchRegisterModule& operator=( const TCamacSwitchRegisterModule& right ); 00065 Tbool operator==( const TCamacSwitchRegisterModule& right ) const; 00066 Tbool operator!=( const TCamacSwitchRegisterModule& right ) const; 00067 Tvoid FillData( TDataElement& element, Tint channel ); 00068 00069 }; 00070 00071 #endif