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