#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 53 of file ESDDevice.h.
default constructor
Definition at line 450 of file ESDDevice.cpp.
CESDDevice::CESDDevice | ( | const CESDDevice & | rclESDDevice | ) |
copy constructor
Definition at line 455 of file ESDDevice.cpp.
CESDDevice::~CESDDevice | ( | ) | [virtual] |
destructor
Definition at line 460 of file ESDDevice.cpp.
int CESDDevice::clearReadQueue | ( | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 201 of file ESDDevice.cpp.
int CESDDevice::exit | ( | ) | [virtual] |
Implements CDevice.
Definition at line 703 of file ESDDevice.cpp.
int CESDDevice::getDeviceError | ( | int | iErrorState | ) | [protected] |
Definition at line 72 of file ESDDevice.cpp.
int CESDDevice::init | ( | ) | [virtual] |
Implements CDevice.
Definition at line 511 of file ESDDevice.cpp.
int CESDDevice::init | ( | const char * | acInitString | ) | [virtual] |
Implements CDevice.
Definition at line 516 of file ESDDevice.cpp.
CESDDevice & CESDDevice::operator= | ( | const CESDDevice & | rclESDDevice | ) |
Definition at line 471 of file ESDDevice.cpp.
int CESDDevice::readDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 363 of file ESDDevice.cpp.
int CESDDevice::reinit | ( | unsigned char | ucBaudRateId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 215 of file ESDDevice.cpp.
int CESDDevice::setBaudRate | ( | ) | [protected] |
Definition at line 144 of file ESDDevice.cpp.
int CESDDevice::setMessageId | ( | unsigned long | uiMessageId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 186 of file ESDDevice.cpp.
void CESDDevice::setQueueSize | ( | unsigned short | uiQueueSize | ) |
Definition at line 489 of file ESDDevice.cpp.
void CESDDevice::setTimeOut | ( | unsigned long | uiTimeOut | ) |
Definition at line 494 of file ESDDevice.cpp.
int CESDDevice::waitForStartMotionAll | ( | ) | [virtual] |
Reimplemented from CDevice.
Definition at line 734 of file ESDDevice.cpp.
int CESDDevice::writeDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 417 of file ESDDevice.cpp.
int CESDDevice::m_iDeviceId [protected] |
Definition at line 79 of file ESDDevice.h.
unsigned long CESDDevice::m_uiBaudRate [protected] |
Definition at line 80 of file ESDDevice.h.
unsigned short CESDDevice::m_uiQueueSize [protected] |
Definition at line 81 of file ESDDevice.h.
unsigned long CESDDevice::m_uiTimeOut [protected] |
Definition at line 82 of file ESDDevice.h.