Public Member Functions | Protected Member Functions | Protected Attributes
SocketCANDevice Class Reference

#include <SocketCANDevice.h>

Inheritance diagram for SocketCANDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int exit ()
int init ()
int init (unsigned long baudRate)
int init (const char *acInitString)
SocketCANDeviceoperator= (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

Detailed Description

Definition at line 59 of file SocketCANDevice.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.


Member Data Documentation

Definition at line 69 of file SocketCANDevice.h.

char* SocketCANDevice::m_DeviceName [protected]

Definition at line 74 of file SocketCANDevice.h.

Definition at line 70 of file SocketCANDevice.h.

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.


The documentation for this class was generated from the following files:


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Sat Jun 8 2019 20:25:13