00001 // ===================================================================== 00028 // ===================================================================== 00029 #ifndef CLDAQ__TRS232CKEITHLEY2700MODULE_HH 00030 #define CLDAQ__TRS232CKEITHLEY2700MODULE_HH 00031 00032 #include "Tglobals.h" 00033 #include "TRs232cModule.hh" 00034 00035 00055 class TRs232cKeithley2700Module 00056 : public TRs232cModule 00057 { 00058 00059 public: 00060 TRs232cKeithley2700Module( const Tstring devfile = "/dev/ttyS0", Tint nchannel = 1 ); 00061 TRs232cKeithley2700Module( Tint nchannel, Tstring devfile = "/dev/ttyS0" ); 00062 TRs232cKeithley2700Module( const TRs232cKeithley2700Module& right ); 00063 ~TRs232cKeithley2700Module(); 00064 00065 protected: 00066 Tvoid defineClearMethod( Tint channel ); 00067 Tvoid defineUpdateMethod( Tint channel ) ; 00068 Tvoid defineInitializeMethod( Tint channel ); 00069 Tvoid defineReadMethod( Tint channel ); 00070 Tbool modifyData( const Tstring& accept, Tdouble& databuf ) const; 00071 00072 #ifdef __CLDAQ_ROOT_DLL 00073 ClassDef(TRs232cKeithley2700Module,0) 00074 #endif 00075 00076 }; 00077 00078 #endif