00001 // ===================================================================== 00024 // ===================================================================== 00025 #ifndef CLDAQ__TRS232CKEITHLEY2700MODULE_HH 00026 #define CLDAQ__TRS232CKEITHLEY2700MODULE_HH 00027 00028 #include "Tglobals.h" 00029 #include "TRs232cModule.hh" 00030 00031 00051 class TRs232cKeithley2700Module 00052 : public TRs232cModule 00053 { 00054 00055 public: 00056 TRs232cKeithley2700Module( const Tstring devfile = "/dev/ttyS0", Tint nchannel = 1 ); 00057 TRs232cKeithley2700Module( Tint nchannel, Tstring devfile = "/dev/ttyS0" ); 00058 TRs232cKeithley2700Module( const TRs232cKeithley2700Module& right ); 00059 ~TRs232cKeithley2700Module(); 00060 00061 protected: 00062 Tvoid defineClearMethod( Tint channel ); 00063 Tvoid defineUpdateMethod( Tint channel ) ; 00064 Tvoid defineInitializeMethod( Tint channel ); 00065 Tvoid defineReadMethod( Tint channel ); 00066 Tbool modifyData( const Tstring& accept, Tdouble& databuf ) const; 00067 00068 }; 00069 00070 #endif