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 71 of file RS232Device.h.


Constructor & Destructor Documentation

default constructor

Definition at line 477 of file RS232Device.cpp.

CRS232Device::CRS232Device ( const CRS232Device rclRS232Device)

copy constructor

Definition at line 482 of file RS232Device.cpp.

destructor

Definition at line 487 of file RS232Device.cpp.


Member Function Documentation

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

Implements CProtocolDevice.

Definition at line 98 of file RS232Device.cpp.

int CRS232Device::exit ( ) [virtual]

Implements CDevice.

Definition at line 782 of file RS232Device.cpp.

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

Definition at line 80 of file RS232Device.cpp.

int CRS232Device::init ( ) [virtual]

Implements CDevice.

Definition at line 533 of file RS232Device.cpp.

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

Implements CDevice.

Definition at line 538 of file RS232Device.cpp.

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

Definition at line 498 of file RS232Device.cpp.

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

Implements CProtocolDevice.

Definition at line 110 of file RS232Device.cpp.

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

Implements CProtocolDevice.

Definition at line 104 of file RS232Device.cpp.

int CRS232Device::setBaudRate ( ) [protected]

Definition at line 86 of file RS232Device.cpp.

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

Implements CProtocolDevice.

Definition at line 92 of file RS232Device.cpp.

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

Definition at line 516 of file RS232Device.cpp.

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

Implements CProtocolDevice.

Definition at line 360 of file RS232Device.cpp.


Member Data Documentation

Reimplemented from CProtocolDevice.

Definition at line 95 of file RS232Device.h.

int CRS232Device::m_iDeviceId [protected]

Definition at line 92 of file RS232Device.h.

unsigned long CRS232Device::m_uiBaudRate [protected]

Definition at line 93 of file RS232Device.h.

unsigned long CRS232Device::m_uiTimeOut [protected]

Definition at line 94 of file RS232Device.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Thu Aug 27 2015 15:06:52