00001 // ===================================================================== 00002 // $Id: TRs232cKeithley7702Module.hh,v 1.3 2003/07/30 16:19:11 goiwai Exp $ 00003 // $Name: CLDAQ-1-07-01 $ 00004 // 00005 // $Log: TRs232cKeithley7702Module.hh,v $ 00006 // Revision 1.3 2003/07/30 16:19:11 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TRS232CKEITHLEY7702MODULE_HH 00011 #define __TRS232CKEITHLEY7702MODULE_HH 00012 00013 #include "Tglobals.h" 00014 #include "TRs232cModule.hh" 00015 00016 class TRs232cKeithley7702Module 00017 : public TRs232cModule 00018 { 00019 00020 public: 00021 TRs232cKeithley7702Module( const Tstring devfile = "/dev/ttyS0", Tint nchannel = 32 ); 00022 TRs232cKeithley7702Module( Tint nchannel, Tstring devfile = "/dev/ttyS0" ); 00023 TRs232cKeithley7702Module( const TRs232cKeithley7702Module& right ); 00024 ~TRs232cKeithley7702Module(); 00025 00026 protected: 00027 Tvoid defineClearMethod( Tint channel ); 00028 Tvoid defineUpdateMethod( Tint channel ) ; 00029 Tvoid defineInitializeMethod( Tint channel ); 00030 Tvoid defineReadMethod( Tint channel ); 00031 Tbool modifyData( const Tstring& accept, Tdouble& databuf ) const; 00032 00033 }; 00034 00035 #endif