00001 // ===================================================================== 00002 // $Id: TCamacOutputRegisterModule.hh,v 1.1.1.1 2003/06/27 02:56:41 goiwai Exp $ 00003 // $Name: CLDAQ-1-06-00 $ 00004 // ===================================================================== 00005 #ifndef __TCAMACOUTPUTREGISTERMODULE_HH 00006 #define __TCAMACOUTPUTREGISTERMODULE_HH 00007 00008 #include "Tglobals.h" 00009 #include "TCamacModule.hh" 00010 00011 class TDataSegment; 00012 class TDataElement; 00013 00014 class TCamacOutputRegisterModule 00015 : public TCamacModule 00016 { 00017 00018 public: 00019 TCamacOutputRegisterModule( TCamacCrateController* cc7x00, Tint slot, Tdata_t datalen = t16bitModule ); 00020 TCamacOutputRegisterModule( const TCamacOutputRegisterModule& right ); 00021 ~TCamacOutputRegisterModule(); 00022 00023 public: 00024 const TCamacOutputRegisterModule& operator=( const TCamacOutputRegisterModule& right ); 00025 Tbool operator==( const TCamacOutputRegisterModule& right ) const; 00026 Tbool operator!=( const TCamacOutputRegisterModule& right ) const; 00027 Tvoid FillData( TDataElement& element, Tint channel ); 00028 00029 public: 00030 Tint Pulse( Tint data ); 00031 Tint Level( Tint data ); 00032 00033 }; 00034 00035 #endif