Public Member Functions | Protected Member Functions | Protected Attributes
CRS232Device Class Reference

#include <RS232Device.h>

Inheritance diagram for CRS232Device:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CRS232Device ()
 default constructor
 CRS232Device (const CRS232Device &rclRS232Device)
 copy constructor
int exit ()
int init ()
int init (const char *acInitString)
CRS232Deviceoperator= (const CRS232Device &rclRS232Device)
void setQueueSize (unsigned short uiQueueSize)
void setTimeOut (unsigned long uiTimeOut)
virtual ~CRS232Device ()
 destructor

Protected Member Functions

int clearReadQueue ()
int getDeviceError (int iErrorState)
int readDevice (CProtocolMessage &rclProtocolMessage)
int reinit (unsigned char ucBaudRateId)
int setBaudRate ()
int setMessageId (unsigned long uiMessageId)
int writeDevice (CProtocolMessage &rclProtocolMessage)

Protected Attributes

CStopWatch m_clTimer
int m_iDeviceId
unsigned long m_uiBaudRate
unsigned long m_uiTimeOut

Detailed Description

Definition at line 40 of file RS232Device.h.


Constructor & Destructor Documentation

default constructor

Definition at line 446 of file RS232Device.cpp.

CRS232Device::CRS232Device ( const CRS232Device rclRS232Device)

copy constructor

Definition at line 451 of file RS232Device.cpp.

destructor

Definition at line 456 of file RS232Device.cpp.


Member Function Documentation

int CRS232Device::clearReadQueue ( ) [protected, virtual]

Implements CProtocolDevice.

Definition at line 67 of file RS232Device.cpp.

int CRS232Device::exit ( ) [virtual]

Implements CDevice.

Definition at line 751 of file RS232Device.cpp.

int CRS232Device::getDeviceError ( int  iErrorState) [protected]

Definition at line 49 of file RS232Device.cpp.

int CRS232Device::init ( ) [virtual]

Implements CDevice.

Definition at line 502 of file RS232Device.cpp.

int CRS232Device::init ( const char *  acInitString) [virtual]

Implements CDevice.

Definition at line 507 of file RS232Device.cpp.

CRS232Device & CRS232Device::operator= ( const CRS232Device rclRS232Device)

Definition at line 467 of file RS232Device.cpp.

int CRS232Device::readDevice ( CProtocolMessage rclProtocolMessage) [protected, virtual]

Implements CProtocolDevice.

Definition at line 79 of file RS232Device.cpp.

int CRS232Device::reinit ( unsigned char  ucBaudRateId) [protected, virtual]

Implements CProtocolDevice.

Definition at line 73 of file RS232Device.cpp.

int CRS232Device::setBaudRate ( ) [protected]

Definition at line 55 of file RS232Device.cpp.

int CRS232Device::setMessageId ( unsigned long  uiMessageId) [protected, virtual]

Implements CProtocolDevice.

Definition at line 61 of file RS232Device.cpp.

void CRS232Device::setQueueSize ( unsigned short  uiQueueSize)
void CRS232Device::setTimeOut ( unsigned long  uiTimeOut)

Definition at line 485 of file RS232Device.cpp.

int CRS232Device::writeDevice ( CProtocolMessage rclProtocolMessage) [protected, virtual]

Implements CProtocolDevice.

Definition at line 329 of file RS232Device.cpp.


Member Data Documentation

Reimplemented from CProtocolDevice.

Definition at line 64 of file RS232Device.h.

int CRS232Device::m_iDeviceId [protected]

Definition at line 61 of file RS232Device.h.

unsigned long CRS232Device::m_uiBaudRate [protected]

Definition at line 62 of file RS232Device.h.

unsigned long CRS232Device::m_uiTimeOut [protected]

Definition at line 63 of file RS232Device.h.


The documentation for this class was generated from the following files:


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Sat Jun 8 2019 20:25:13