#include <CP5X11Device.h>
Public Member Functions | |
CCP5X11Device () | |
default constructor | |
CCP5X11Device (const CCP5X11Device &rclCP5X11Device) | |
copy constructor | |
int | exit () |
int | init () |
int | init (const char *acInitString) |
CCP5X11Device & | operator= (const CCP5X11Device &rclCP5X11Device) |
void | setTimeOut (unsigned long uiTimeOut) |
virtual | ~CCP5X11Device () |
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 | |
unsigned char | m_access |
CStopWatch | m_clTimer |
unsigned char | m_hDevice |
unsigned char | m_teaser |
unsigned long | m_uiTimeOut |
Definition at line 55 of file CP5X11Device.h.
default constructor
Definition at line 230 of file CP5X11Device.cpp.
CCP5X11Device::CCP5X11Device | ( | const CCP5X11Device & | rclCP5X11Device | ) |
copy constructor
Definition at line 235 of file CP5X11Device.cpp.
CCP5X11Device::~CCP5X11Device | ( | ) | [virtual] |
destructor
Definition at line 240 of file CP5X11Device.cpp.
int CCP5X11Device::clearReadQueue | ( | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 80 of file CP5X11Device.cpp.
int CCP5X11Device::exit | ( | ) | [virtual] |
Implements CDevice.
Definition at line 404 of file CP5X11Device.cpp.
int CCP5X11Device::getDeviceError | ( | int | iErrorState | ) | [protected] |
Definition at line 63 of file CP5X11Device.cpp.
int CCP5X11Device::init | ( | ) | [virtual] |
Implements CDevice.
Definition at line 285 of file CP5X11Device.cpp.
int CCP5X11Device::init | ( | const char * | acInitString | ) | [virtual] |
Implements CDevice.
Definition at line 290 of file CP5X11Device.cpp.
CCP5X11Device & CCP5X11Device::operator= | ( | const CCP5X11Device & | rclCP5X11Device | ) |
Definition at line 250 of file CP5X11Device.cpp.
int CCP5X11Device::readDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 92 of file CP5X11Device.cpp.
int CCP5X11Device::reinit | ( | unsigned char | ucBaudRateId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 86 of file CP5X11Device.cpp.
int CCP5X11Device::setBaudRate | ( | ) | [protected] |
Definition at line 68 of file CP5X11Device.cpp.
int CCP5X11Device::setMessageId | ( | unsigned long | uiMessageId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 74 of file CP5X11Device.cpp.
void CCP5X11Device::setTimeOut | ( | unsigned long | uiTimeOut | ) |
Definition at line 268 of file CP5X11Device.cpp.
int CCP5X11Device::writeDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 180 of file CP5X11Device.cpp.
unsigned char CCP5X11Device::m_access [protected] |
Definition at line 68 of file CP5X11Device.h.
CStopWatch CCP5X11Device::m_clTimer [protected] |
Reimplemented from CProtocolDevice.
Definition at line 72 of file CP5X11Device.h.
unsigned char CCP5X11Device::m_hDevice [protected] |
Definition at line 67 of file CP5X11Device.h.
unsigned char CCP5X11Device::m_teaser [protected] |
Definition at line 71 of file CP5X11Device.h.
unsigned long CCP5X11Device::m_uiTimeOut [protected] |
Definition at line 70 of file CP5X11Device.h.