#include <CanPeakSys.h>
Definition at line 26 of file CanPeakSys.h.
◆ CanPeakSys()
| CanPeakSys::CanPeakSys |
( |
const char * |
cIniFile | ) |
|
◆ ~CanPeakSys()
| CanPeakSys::~CanPeakSys |
( |
| ) |
|
◆ destroy()
| void CanPeakSys::destroy |
( |
| ) |
|
|
inline |
◆ init()
| void CanPeakSys::init |
( |
| ) |
|
|
virtual |
◆ init_ret()
| bool CanPeakSys::init_ret |
( |
| ) |
|
|
virtual |
◆ isObjectMode()
| bool CanPeakSys::isObjectMode |
( |
| ) |
|
|
inlinevirtual |
Check if the current CAN interface was opened on OBJECT mode.
- Returns
- true if opened in OBJECT mode, false if not.
Implements CanItf.
Definition at line 39 of file CanPeakSys.h.
◆ receiveMsg()
| bool CanPeakSys::receiveMsg |
( |
CanMsg * |
pCMsg | ) |
|
|
virtual |
Reads a CAN message.
- Returns
- true if a message is available
Implements CanItf.
Definition at line 147 of file CanPeakSys.cpp.
◆ receiveMsgRetry()
| bool CanPeakSys::receiveMsgRetry |
( |
CanMsg * |
pCMsg, |
|
|
int |
iNrOfRetry |
|
) |
| |
|
virtual |
Reads a CAN message. The function blocks between the attempts.
- Parameters
-
| pCMsg | CAN message |
| iNrOfRetry | number of retries |
- Returns
- true if a message is available
Implements CanItf.
Definition at line 184 of file CanPeakSys.cpp.
◆ receiveMsgTimeout()
| bool CanPeakSys::receiveMsgTimeout |
( |
CanMsg * |
pCMsg, |
|
|
int |
nMicroSecTimeout |
|
) |
| |
|
virtual |
Reads a CAN message with timeout.
- Parameters
-
| pCMsg | CAN message |
| nMicroSecTimeout | timeout in us |
- Returns
- true if a message is available
Implements CanItf.
Definition at line 229 of file CanPeakSys.cpp.
◆ transmitMsg()
| bool CanPeakSys::transmitMsg |
( |
CanMsg |
CMsg, |
|
|
bool |
bBlocking = true |
|
) |
| |
|
virtual |
Sends a CAN message.
- Parameters
-
| pCMsg | CAN message |
| bBlocking | specifies whether send should be blocking or non-blocking |
Implements CanItf.
Definition at line 117 of file CanPeakSys.cpp.
◆ c_iInterrupt
| const int CanPeakSys::c_iInterrupt = 7 |
|
staticprivate |
◆ c_iPort
| const int CanPeakSys::c_iPort = 0x378 |
|
staticprivate |
◆ m_bInitialized
| bool CanPeakSys::m_bInitialized |
|
private |
◆ m_bSimuEnabled
| bool CanPeakSys::m_bSimuEnabled |
|
private |
◆ m_handle
| HANDLE CanPeakSys::m_handle |
|
private |
◆ m_IniFile
The documentation for this class was generated from the following files: