#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 24 of file CP5X11Device.h.
default constructor
Definition at line 199 of file CP5X11Device.cpp.
CCP5X11Device::CCP5X11Device | ( | const CCP5X11Device & | rclCP5X11Device | ) |
copy constructor
Definition at line 204 of file CP5X11Device.cpp.
CCP5X11Device::~CCP5X11Device | ( | ) | [virtual] |
destructor
Definition at line 209 of file CP5X11Device.cpp.
int CCP5X11Device::clearReadQueue | ( | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 49 of file CP5X11Device.cpp.
int CCP5X11Device::exit | ( | ) | [virtual] |
Implements CDevice.
Definition at line 373 of file CP5X11Device.cpp.
int CCP5X11Device::getDeviceError | ( | int | iErrorState | ) | [protected] |
Definition at line 32 of file CP5X11Device.cpp.
int CCP5X11Device::init | ( | ) | [virtual] |
Implements CDevice.
Definition at line 254 of file CP5X11Device.cpp.
int CCP5X11Device::init | ( | const char * | acInitString | ) | [virtual] |
Implements CDevice.
Definition at line 259 of file CP5X11Device.cpp.
CCP5X11Device & CCP5X11Device::operator= | ( | const CCP5X11Device & | rclCP5X11Device | ) |
Definition at line 219 of file CP5X11Device.cpp.
int CCP5X11Device::readDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 61 of file CP5X11Device.cpp.
int CCP5X11Device::reinit | ( | unsigned char | ucBaudRateId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 55 of file CP5X11Device.cpp.
int CCP5X11Device::setBaudRate | ( | ) | [protected] |
Definition at line 37 of file CP5X11Device.cpp.
int CCP5X11Device::setMessageId | ( | unsigned long | uiMessageId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 43 of file CP5X11Device.cpp.
void CCP5X11Device::setTimeOut | ( | unsigned long | uiTimeOut | ) |
Definition at line 237 of file CP5X11Device.cpp.
int CCP5X11Device::writeDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 149 of file CP5X11Device.cpp.
unsigned char CCP5X11Device::m_access [protected] |
Definition at line 37 of file CP5X11Device.h.
CStopWatch CCP5X11Device::m_clTimer [protected] |
Reimplemented from CProtocolDevice.
Definition at line 41 of file CP5X11Device.h.
unsigned char CCP5X11Device::m_hDevice [protected] |
Definition at line 36 of file CP5X11Device.h.
unsigned char CCP5X11Device::m_teaser [protected] |
Definition at line 40 of file CP5X11Device.h.
unsigned long CCP5X11Device::m_uiTimeOut [protected] |
Definition at line 39 of file CP5X11Device.h.