#include <ESDDevice.h>
Public Member Functions | |
CESDDevice () | |
default constructor | |
CESDDevice (const CESDDevice &rclESDDevice) | |
copy constructor | |
int | exit () |
int | init () |
int | init (const char *acInitString) |
CESDDevice & | operator= (const CESDDevice &rclESDDevice) |
void | setQueueSize (unsigned short uiQueueSize) |
void | setTimeOut (unsigned long uiTimeOut) |
int | waitForStartMotionAll () |
virtual | ~CESDDevice () |
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 | |
int | m_iDeviceId |
unsigned long | m_uiBaudRate |
unsigned short | m_uiQueueSize |
unsigned long | m_uiTimeOut |
Definition at line 23 of file ESDDevice.h.
default constructor
Definition at line 419 of file ESDDevice.cpp.
CESDDevice::CESDDevice | ( | const CESDDevice & | rclESDDevice | ) |
copy constructor
Definition at line 424 of file ESDDevice.cpp.
CESDDevice::~CESDDevice | ( | ) | [virtual] |
destructor
Definition at line 429 of file ESDDevice.cpp.
int CESDDevice::clearReadQueue | ( | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 170 of file ESDDevice.cpp.
int CESDDevice::exit | ( | ) | [virtual] |
Implements CDevice.
Definition at line 672 of file ESDDevice.cpp.
int CESDDevice::getDeviceError | ( | int | iErrorState | ) | [protected] |
Definition at line 41 of file ESDDevice.cpp.
int CESDDevice::init | ( | ) | [virtual] |
Implements CDevice.
Definition at line 480 of file ESDDevice.cpp.
int CESDDevice::init | ( | const char * | acInitString | ) | [virtual] |
Implements CDevice.
Definition at line 485 of file ESDDevice.cpp.
CESDDevice & CESDDevice::operator= | ( | const CESDDevice & | rclESDDevice | ) |
Definition at line 440 of file ESDDevice.cpp.
int CESDDevice::readDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 332 of file ESDDevice.cpp.
int CESDDevice::reinit | ( | unsigned char | ucBaudRateId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 184 of file ESDDevice.cpp.
int CESDDevice::setBaudRate | ( | ) | [protected] |
Definition at line 113 of file ESDDevice.cpp.
int CESDDevice::setMessageId | ( | unsigned long | uiMessageId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 155 of file ESDDevice.cpp.
void CESDDevice::setQueueSize | ( | unsigned short | uiQueueSize | ) |
Definition at line 458 of file ESDDevice.cpp.
void CESDDevice::setTimeOut | ( | unsigned long | uiTimeOut | ) |
Definition at line 463 of file ESDDevice.cpp.
int CESDDevice::waitForStartMotionAll | ( | ) | [virtual] |
Reimplemented from CDevice.
Definition at line 703 of file ESDDevice.cpp.
int CESDDevice::writeDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 386 of file ESDDevice.cpp.
int CESDDevice::m_iDeviceId [protected] |
Definition at line 49 of file ESDDevice.h.
unsigned long CESDDevice::m_uiBaudRate [protected] |
Definition at line 50 of file ESDDevice.h.
unsigned short CESDDevice::m_uiQueueSize [protected] |
Definition at line 51 of file ESDDevice.h.
unsigned long CESDDevice::m_uiTimeOut [protected] |
Definition at line 52 of file ESDDevice.h.