#include <SocketCANDevice.h>
Public Member Functions | |
int | exit () |
int | init () |
int | init (unsigned long baudRate) |
int | init (const char *acInitString) |
SocketCANDevice & | operator= (const SocketCANDevice &rclSocketCANDevice) |
void | setQueueSize (unsigned short uiQueueSize) |
void | setTimeOut (unsigned long uiTimeOut) |
SocketCANDevice () | |
SocketCANDevice (const SocketCANDevice &rclSocketCANDevice) | |
int | waitForStartMotionAll () |
~SocketCANDevice () | |
Protected Member Functions | |
int | clearReadQueue () |
int | getDeviceError (int iErrorState) |
int | readDevice (CProtocolMessage &rclProtocolMessage) |
int | reinit (unsigned char ucBaudRateId) |
int | setBaudRate () |
int | setBaudRate (unsigned char iBaudRate) |
int | setMessageId (unsigned long uiMessageId) |
int | writeDevice (CProtocolMessage &rclProtocolMessage) |
Protected Attributes | |
bool | m_bInitialized |
char * | m_DeviceName |
int | m_iDeviceId |
int | m_iNoOfRetries |
unsigned short | m_uiQueueSize |
unsigned long | m_uiTimeOut |
Definition at line 59 of file SocketCANDevice.h.
Definition at line 223 of file SocketCANDevice.cpp.
SocketCANDevice::SocketCANDevice | ( | const SocketCANDevice & | rclSocketCANDevice | ) |
Definition at line 227 of file SocketCANDevice.cpp.
Definition at line 231 of file SocketCANDevice.cpp.
int SocketCANDevice::clearReadQueue | ( | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 94 of file SocketCANDevice.cpp.
int SocketCANDevice::exit | ( | ) | [virtual] |
Implements CDevice.
Definition at line 348 of file SocketCANDevice.cpp.
int SocketCANDevice::getDeviceError | ( | int | iErrorState | ) | [protected] |
Definition at line 39 of file SocketCANDevice.cpp.
int SocketCANDevice::init | ( | ) | [virtual] |
Implements CDevice.
Definition at line 279 of file SocketCANDevice.cpp.
int SocketCANDevice::init | ( | unsigned long | baudRate | ) |
Definition at line 283 of file SocketCANDevice.cpp.
int SocketCANDevice::init | ( | const char * | acInitString | ) | [virtual] |
Implements CDevice.
Definition at line 287 of file SocketCANDevice.cpp.
SocketCANDevice & SocketCANDevice::operator= | ( | const SocketCANDevice & | rclSocketCANDevice | ) |
Definition at line 242 of file SocketCANDevice.cpp.
int SocketCANDevice::readDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 115 of file SocketCANDevice.cpp.
int SocketCANDevice::reinit | ( | unsigned char | ucBaudRateId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 110 of file SocketCANDevice.cpp.
int SocketCANDevice::setBaudRate | ( | ) | [protected] |
Definition at line 86 of file SocketCANDevice.cpp.
int SocketCANDevice::setBaudRate | ( | unsigned char | iBaudRate | ) | [protected] |
Definition at line 82 of file SocketCANDevice.cpp.
int SocketCANDevice::setMessageId | ( | unsigned long | uiMessageId | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 90 of file SocketCANDevice.cpp.
void SocketCANDevice::setQueueSize | ( | unsigned short | uiQueueSize | ) |
Definition at line 259 of file SocketCANDevice.cpp.
void SocketCANDevice::setTimeOut | ( | unsigned long | uiTimeOut | ) |
Definition at line 263 of file SocketCANDevice.cpp.
int SocketCANDevice::waitForStartMotionAll | ( | ) | [virtual] |
Reimplemented from CDevice.
Definition at line 368 of file SocketCANDevice.cpp.
int SocketCANDevice::writeDevice | ( | CProtocolMessage & | rclProtocolMessage | ) | [protected, virtual] |
Implements CProtocolDevice.
Definition at line 164 of file SocketCANDevice.cpp.
bool SocketCANDevice::m_bInitialized [protected] |
Definition at line 69 of file SocketCANDevice.h.
char* SocketCANDevice::m_DeviceName [protected] |
Definition at line 74 of file SocketCANDevice.h.
int SocketCANDevice::m_iDeviceId [protected] |
Definition at line 70 of file SocketCANDevice.h.
int SocketCANDevice::m_iNoOfRetries [protected] |
Definition at line 71 of file SocketCANDevice.h.
unsigned short SocketCANDevice::m_uiQueueSize [protected] |
Definition at line 72 of file SocketCANDevice.h.
unsigned long SocketCANDevice::m_uiTimeOut [protected] |
Definition at line 73 of file SocketCANDevice.h.