#include <CanPeakSys.h>
Definition at line 26 of file CanPeakSys.h.
 
      
        
          | CanPeakSys::CanPeakSys | ( | const char * | cIniFile | ) |  | 
      
 
 
      
        
          | CanPeakSys::~CanPeakSys | ( |  | ) |  | 
      
 
 
  
  | 
        
          | void CanPeakSys::destroy | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void CanPeakSys::init | ( |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | bool CanPeakSys::init_ret | ( |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | 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.
 
 
  
  | 
        
          | 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.
 
 
  
  | 
        
          | 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.
 
 
  
  | 
        
          | 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.
 
 
  
  | 
        
          | 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.
 
 
  
  | 
        
          | const int CanPeakSys::c_iInterrupt = 7 |  | staticprivate | 
 
 
  
  | 
        
          | const int CanPeakSys::c_iPort = 0x378 |  | staticprivate | 
 
 
  
  | 
        
          | bool CanPeakSys::m_bInitialized |  | private | 
 
 
  
  | 
        
          | bool CanPeakSys::m_bSimuEnabled |  | private | 
 
 
  
  | 
        
          | HANDLE CanPeakSys::m_handle |  | private | 
 
 
The documentation for this class was generated from the following files: