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