00001 // ===================================================================== 00028 // ===================================================================== 00029 #ifndef CLDAQ__TCAMACSWITCHREGISTERMODULE_HH 00030 #define CLDAQ__TCAMACSWITCHREGISTERMODULE_HH 00031 00032 #include "Tglobals.h" 00033 #include "TCamacModule.hh" 00034 00035 class TDataSegment; 00036 class TDataElement; 00037 00038 00058 class TCamacSwitchRegisterModule 00059 : public TCamacModule 00060 { 00061 00062 public: 00063 TCamacSwitchRegisterModule( TCamacCrateController* cc7x00, Tint slot, Tint nch = 2, Tdata_t datalen = t24bitModule ); 00064 TCamacSwitchRegisterModule( const TCamacSwitchRegisterModule& right ); 00065 ~TCamacSwitchRegisterModule(); 00066 00067 public: 00068 const TCamacSwitchRegisterModule& operator=( const TCamacSwitchRegisterModule& right ); 00069 Tbool operator==( const TCamacSwitchRegisterModule& right ) const; 00070 Tbool operator!=( const TCamacSwitchRegisterModule& right ) const; 00071 Tvoid FillData( TDataElement& element, Tint channel ); 00072 00073 #ifdef __CLDAQ_ROOT_DLL 00074 ClassDef(TCamacSwitchRegisterModule,0) 00075 #endif 00076 00077 }; 00078 00079 #endif