#include <CanPeakSysUSB.h>
Definition at line 26 of file CanPeakSysUSB.h.
 
      
        
          | CANPeakSysUSB::CANPeakSysUSB | ( | const char * | device, | 
        
          |  |  | int | baudrate | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | CANPeakSysUSB::CANPeakSysUSB | ( | const char * | cIniFile | ) |  | 
      
 
 
      
        
          | CANPeakSysUSB::~CANPeakSysUSB | ( |  | ) |  | 
      
 
 
  
  | 
        
          | void CANPeakSysUSB::destroy | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void CANPeakSysUSB::init | ( |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::init_ret | ( |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::initCAN | ( |  | ) |  |  | private | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::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 40 of file CanPeakSysUSB.h.
 
 
  
  | 
        
          | void CANPeakSysUSB::outputDetailedStatus | ( |  | ) |  |  | private | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::receiveMsg | ( | CanMsg * | pCMsg | ) |  |  | virtual | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::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 199 of file CanPeakSysUSB.cpp.
 
 
  
  | 
        
          | bool CANPeakSysUSB::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 245 of file CanPeakSysUSB.cpp.
 
 
  
  | 
        
          | bool CANPeakSysUSB::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 105 of file CanPeakSysUSB.cpp.
 
 
  
  | 
        
          | const int CANPeakSysUSB::c_iInterrupt |  | staticprivate | 
 
 
  
  | 
        
          | const int CANPeakSysUSB::c_iPort |  | staticprivate | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::m_bInitialized |  | private | 
 
 
  
  | 
        
          | bool CANPeakSysUSB::m_bSimuEnabled |  | private | 
 
 
  
  | 
        
          | HANDLE CANPeakSysUSB::m_handle |  | private | 
 
 
  
  | 
        
          | int CANPeakSysUSB::m_iBaudrateVal |  | private | 
 
 
  
  | 
        
          | const char* CANPeakSysUSB::p_cDevice |  | private | 
 
 
The documentation for this class was generated from the following files: