#include <CanItf.h>

| Public Types | |
| enum | CanItfType { CAN_PEAK = 0, CAN_PEAK_USB = 1, CAN_ESD = 2, CAN_DUMMY = 3, CAN_BECKHOFF = 4, CAN_SOCKETCAN = 5 } | 
| Public Member Functions | |
| CanItfType | getCanItfType () | 
| virtual void | init ()=0 | 
| virtual bool | init_ret ()=0 | 
| virtual bool | isObjectMode ()=0 | 
| virtual bool | receiveMsg (CanMsg *pCMsg)=0 | 
| virtual bool | receiveMsgRetry (CanMsg *pCMsg, int iNrOfRetry)=0 | 
| virtual bool | receiveMsgTimeout (CanMsg *pCMsg, int nMicroSecTimeout)=0 | 
| void | setCanItfType (CanItfType iType) | 
| virtual bool | transmitMsg (CanMsg CMsg, bool bBlocking=true)=0 | 
| virtual | ~CanItf () | 
| Private Attributes | |
| CanItfType | m_iCanItfType | 
| The CAN interface type.  More... | |
| enum CanItf::CanItfType | 
| 
 | inlinevirtual | 
| 
 | inline | 
| 
 | pure virtual | 
Initializes the CAN bus.
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | pure virtual | 
Initializes the CAN bus and returns success.
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | pure virtual | 
Check if the current CAN interface was opened on OBJECT mode.
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | pure virtual | 
Reads a CAN message.
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | pure virtual | 
Reads a CAN message. The function blocks between the attempts.
| pCMsg | CAN message | 
| iNrOfRetry | number of retries | 
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | pure virtual | 
Reads a CAN message with timeout.
| pCMsg | CAN message | 
| nMicroSecTimeout | timeout in us | 
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | inline | 
| 
 | pure virtual | 
Sends a CAN message.
| pCMsg | CAN message | 
| bBlocking | specifies whether send should be blocking or non-blocking | 
Implemented in CanESD, SocketCan, CANPeakSysUSB, and CanPeakSys.
| 
 | private |