Public Member Functions | Private Attributes | List of all members
AS::CAN::KvaserCan Class Reference

#include <kvaser_interface.h>

Public Member Functions

return_statuses close ()
 
bool is_open ()
 
 KvaserCan ()
 
return_statuses open (const int &hardware_id, const int &circuit_id, const int &bitrate, const bool &echo_on=true)
 
return_statuses read (long *id, unsigned char *msg, unsigned int *size, bool *extended, unsigned long *time)
 
return_statuses write (const long &id, unsigned char *msg, const unsigned int &size, const bool &extended)
 
 ~KvaserCan ()
 

Private Attributes

void * handle
 
bool on_bus
 

Detailed Description

Definition at line 37 of file kvaser_interface.h.

Constructor & Destructor Documentation

KvaserCan::KvaserCan ( )

Definition at line 15 of file linuxcan.cpp.

KvaserCan::~KvaserCan ( )

Definition at line 22 of file linuxcan.cpp.

Member Function Documentation

return_statuses KvaserCan::close ( )

Definition at line 141 of file linuxcan.cpp.

bool KvaserCan::is_open ( )

Definition at line 122 of file linuxcan.cpp.

return_statuses KvaserCan::open ( const int &  hardware_id,
const int &  circuit_id,
const int &  bitrate,
const bool &  echo_on = true 
)

Definition at line 32 of file linuxcan.cpp.

return_statuses KvaserCan::read ( long *  id,
unsigned char *  msg,
unsigned int *  size,
bool *  extended,
unsigned long *  time 
)

Definition at line 161 of file linuxcan.cpp.

return_statuses KvaserCan::write ( const long &  id,
unsigned char *  msg,
const unsigned int &  size,
const bool &  extended 
)

Definition at line 216 of file linuxcan.cpp.

Member Data Documentation

void* AS::CAN::KvaserCan::handle
private

Definition at line 70 of file kvaser_interface.h.

bool AS::CAN::KvaserCan::on_bus
private

Definition at line 71 of file kvaser_interface.h.


The documentation for this class was generated from the following files:


kvaser_interface
Author(s): Joshua Whitley , Daniel Stanek
autogenerated on Wed Jun 19 2019 19:36:17