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