18 #ifndef CRS232DEVICE_H 19 #define CRS232DEVICE_H 23 #include "../Device/ProtocolDevice.h" 24 #include "../Util/StopWatch.h" 33 #include <sys/types.h> 35 #include <sys/select.h> 55 #if defined(__LINUX__) 72 int reinit(
unsigned char ucBaudRateId);
108 int init(
const char* acInitString);
int writeDevice(CProtocolMessage &rclProtocolMessage)
unsigned long m_uiTimeOut
int readDevice(CProtocolMessage &rclProtocolMessage)
int reinit(unsigned char ucBaudRateId)
CRS232Device()
default constructor
int getDeviceError(int iErrorState)
int setMessageId(unsigned long uiMessageId)
void setTimeOut(unsigned long uiTimeOut)
void setQueueSize(unsigned short uiQueueSize)
virtual ~CRS232Device()
destructor
CRS232Device & operator=(const CRS232Device &rclRS232Device)
unsigned long m_uiBaudRate