00001 // ===================================================================== 00002 // $Id: TRs232cKeithley2400Module.hh,v 1.2 2003/07/30 16:19:10 goiwai Exp $ 00003 // $Name: CLDAQ-1-07-00 $ 00004 // 00005 // $Log: TRs232cKeithley2400Module.hh,v $ 00006 // Revision 1.2 2003/07/30 16:19:10 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TRS232CKEITHLEY2400MODULE_HH 00011 #define __TRS232CKEITHLEY2400MODULE_HH 00012 00013 #include "Tglobals.h" 00014 #include "TRs232cModule.hh" 00015 00016 class TRs232cKeithley2400Module 00017 : public TRs232cModule 00018 { 00019 00020 public: 00021 TRs232cKeithley2400Module( const Tstring devfile = "/dev/ttyS0", Tint nchannel = 1 ); 00022 TRs232cKeithley2400Module( Tint nchannel, Tstring devfile = "/dev/ttyS0" ); 00023 TRs232cKeithley2400Module( const TRs232cKeithley2400Module& right ); 00024 ~TRs232cKeithley2400Module(); 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