1 #ifndef SZA_UTIL_SERIALCLIENT_H
2 #define SZA_UTIL_SERIALCLIENT_H
18 class SerialClient :
public Port {
24 SerialClient(std::string port=
"/dev/ttyS0",
int baudRate=9600,
25 bool canonical=
false,
bool sevenBit=
false);
30 virtual ~SerialClient();
35 virtual void setPort(std::string port);
40 void setBaudRate(
int baudRate);
45 virtual int connect();
53 std::string portName();
76 static BaudRate baudRates_[];
81 static unsigned nBaudRates_;
87 std::string portName_;
112 #endif // End #ifndef SZA_UTIL_SERIALCLIENT_H
Tagged: Mon May 10 16:41:20 PDT 2004.