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

#include <PCanDevice.h>

Inheritance diagram for CPCanDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CPCanDevice ()
 default constructor
 CPCanDevice (const CPCanDevice &rclPCanDevice)
 copy constructor
int exit ()
int init ()
int init (unsigned long baudRate)
int init (const char *acInitString)
CPCanDeviceoperator= (const CPCanDevice &rclPCanDevice)
void setQueueSize (unsigned short uiQueueSize)
void setTimeOut (unsigned long uiTimeOut)
int waitForStartMotionAll ()
virtual ~CPCanDevice ()
 destructor

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
HANDLE m_handle
int m_hDevice
int m_hSyncDevice
int m_iDeviceId
int m_iNoOfRetries
unsigned long m_uiBaudRate
unsigned short m_uiQueueSize
unsigned long m_uiTimeOut

Detailed Description

Definition at line 55 of file PCanDevice.h.


Constructor & Destructor Documentation

default constructor

Definition at line 460 of file PCanDevice.cpp.

CPCanDevice::CPCanDevice ( const CPCanDevice rclPCanDevice)

copy constructor

Definition at line 467 of file PCanDevice.cpp.

destructor

Definition at line 472 of file PCanDevice.cpp.


Member Function Documentation

int CPCanDevice::clearReadQueue ( ) [protected, virtual]

Implements CProtocolDevice.

Definition at line 217 of file PCanDevice.cpp.

int CPCanDevice::exit ( ) [virtual]

Implements CDevice.

Definition at line 756 of file PCanDevice.cpp.

int CPCanDevice::getDeviceError ( int  iErrorState) [protected]

Definition at line 66 of file PCanDevice.cpp.

int CPCanDevice::init ( ) [virtual]

Implements CDevice.

Definition at line 526 of file PCanDevice.cpp.

int CPCanDevice::init ( unsigned long  baudRate)

Definition at line 530 of file PCanDevice.cpp.

int CPCanDevice::init ( const char *  acInitString) [virtual]

Implements CDevice.

Definition at line 562 of file PCanDevice.cpp.

CPCanDevice & CPCanDevice::operator= ( const CPCanDevice rclPCanDevice)

Definition at line 485 of file PCanDevice.cpp.

int CPCanDevice::readDevice ( CProtocolMessage rclProtocolMessage) [protected, virtual]

Implements CProtocolDevice.

Definition at line 379 of file PCanDevice.cpp.

int CPCanDevice::reinit ( unsigned char  ucBaudRateId) [protected, virtual]

Implements CProtocolDevice.

Definition at line 242 of file PCanDevice.cpp.

int CPCanDevice::setBaudRate ( ) [protected]

Definition at line 146 of file PCanDevice.cpp.

int CPCanDevice::setBaudRate ( unsigned char  iBaudRate) [protected]

Definition at line 139 of file PCanDevice.cpp.

int CPCanDevice::setMessageId ( unsigned long  uiMessageId) [protected, virtual]

Implements CProtocolDevice.

Definition at line 200 of file PCanDevice.cpp.

void CPCanDevice::setQueueSize ( unsigned short  uiQueueSize)

Definition at line 503 of file PCanDevice.cpp.

void CPCanDevice::setTimeOut ( unsigned long  uiTimeOut)

Definition at line 508 of file PCanDevice.cpp.

Reimplemented from CDevice.

Definition at line 794 of file PCanDevice.cpp.

int CPCanDevice::writeDevice ( CProtocolMessage rclProtocolMessage) [protected, virtual]

Implements CProtocolDevice.

Definition at line 423 of file PCanDevice.cpp.


Member Data Documentation

bool CPCanDevice::m_bInitialized [protected]

Definition at line 71 of file PCanDevice.h.

char* CPCanDevice::m_DeviceName [protected]

Definition at line 87 of file PCanDevice.h.

HANDLE CPCanDevice::m_handle [protected]

Definition at line 67 of file PCanDevice.h.

int CPCanDevice::m_hDevice [protected]

Definition at line 68 of file PCanDevice.h.

int CPCanDevice::m_hSyncDevice [protected]

Definition at line 69 of file PCanDevice.h.

int CPCanDevice::m_iDeviceId [protected]

Definition at line 70 of file PCanDevice.h.

int CPCanDevice::m_iNoOfRetries [protected]

Definition at line 75 of file PCanDevice.h.

unsigned long CPCanDevice::m_uiBaudRate [protected]

Definition at line 72 of file PCanDevice.h.

unsigned short CPCanDevice::m_uiQueueSize [protected]

Definition at line 73 of file PCanDevice.h.

unsigned long CPCanDevice::m_uiTimeOut [protected]

Definition at line 74 of file PCanDevice.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Tue Mar 5 2013 14:44:33