00001 // ===================================================================== 00002 // $Id: TCamacOutputRegisterModule.hh,v 1.2 2003/07/30 16:19:10 goiwai Exp $ 00003 // $Name: CLDAQ-1-08-02 $ 00004 // 00005 // $Log: TCamacOutputRegisterModule.hh,v $ 00006 // Revision 1.2 2003/07/30 16:19:10 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TCAMACOUTPUTREGISTERMODULE_HH 00011 #define __TCAMACOUTPUTREGISTERMODULE_HH 00012 00013 #include "Tglobals.h" 00014 #include "TCamacModule.hh" 00015 00016 class TDataSegment; 00017 class TDataElement; 00018 00019 class TCamacOutputRegisterModule 00020 : public TCamacModule 00021 { 00022 00023 public: 00024 TCamacOutputRegisterModule( TCamacCrateController* cc7x00, Tint slot, Tdata_t datalen = t16bitModule ); 00025 TCamacOutputRegisterModule( const TCamacOutputRegisterModule& right ); 00026 ~TCamacOutputRegisterModule(); 00027 00028 public: 00029 const TCamacOutputRegisterModule& operator=( const TCamacOutputRegisterModule& right ); 00030 Tbool operator==( const TCamacOutputRegisterModule& right ) const; 00031 Tbool operator!=( const TCamacOutputRegisterModule& right ) const; 00032 Tvoid FillData( TDataElement& element, Tint channel ); 00033 00034 public: 00035 Tint Pulse( Tint data ); 00036 Tint Level( Tint data ); 00037 00038 }; 00039 00040 #endif