00001 // ===================================================================== 00002 // $Id: TRs232cKeithley7702Module.hh,v 1.2 2003/07/05 02:04:23 goiwai Exp $ 00003 // $Name: CLDAQ-1-06-00 $ 00004 // ===================================================================== 00005 #ifndef __TRS232CKEITHLEY7702MODULE_HH 00006 #define __TRS232CKEITHLEY7702MODULE_HH 00007 00008 #include "Tglobals.h" 00009 #include "TRs232cModule.hh" 00010 00011 class TRs232cKeithley7702Module 00012 : public TRs232cModule 00013 { 00014 00015 public: 00016 TRs232cKeithley7702Module( const Tstring devfile = "/dev/ttyS0", Tint nchannel = 32 ); 00017 TRs232cKeithley7702Module( Tint nchannel, Tstring devfile = "/dev/ttyS0" ); 00018 TRs232cKeithley7702Module( const TRs232cKeithley7702Module& right ); 00019 ~TRs232cKeithley7702Module(); 00020 00021 protected: 00022 Tvoid defineClearMethod( Tint channel ); 00023 Tvoid defineUpdateMethod( Tint channel ) ; 00024 Tvoid defineInitializeMethod( Tint channel ); 00025 Tvoid defineReadMethod( Tint channel ); 00026 Tbool modifyData( const Tstring& accept, Tdouble& databuf ) const; 00027 00028 }; 00029 00030 #endif