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