Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
Interface for communication with SocketCAN.Designed to be extended by different types of drivers. More...
#include <ISocketCANInterface.hpp>
Public Member Functions | |
virtual | ~ISocketCANInterface ()=default |
virtual void * | ctrlOpen (const char *deviceId, iv::model::comms::socketcan::eBaudRate baudRate)=0 |
virtual uint32_t | ctrlInit (void *socket, iv::model::comms::socketcan::eBaudRate baudRate)=0 |
virtual uint32_t | ctrlReceive (void *socket, std::shared_ptr< CMessageCan > &pStcMessage)=0 |
virtual uint32_t | ctrlSend (void *socket, const CMessageCan &pStcMessage)=0 |
virtual void | ctrlClose (void *socket)=0 |
Static Protected Member Functions | |
static void | prvPeakKernelModuleLoad () |
static void | prvIxxatKernelModuleLoad () |
static bool | prvExistsInterface (const std::string &deviceId) |
static bool | prvIsInterfaceUp (const std::string &deviceId) |
static bool | prvSetInterface (const std::string &deviceId, bool up) |
static bool | prvSetBitrate (const std::string &deviceId, uint64_t btr0) |
Protected Attributes | |
std::string | m_interfaceName {} |
Interface for communication with SocketCAN.
Designed to be extended by different types of drivers.
|
virtualdefault |
|
pure virtual |
Implemented in iv::comms::socketcan::SocketCanSettings.
|
pure virtual |
Implemented in iv::comms::socketcan::SocketCanSettings.
|
pure virtual |
Implemented in iv::comms::socketcan::SocketCanSettings.
|
pure virtual |
Implemented in iv::comms::socketcan::SocketCanSettings.
|
pure virtual |
Implemented in iv::comms::socketcan::SocketCanSettings.
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
protected |