Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::comms::socketcan::SocketCanSettings Class Reference

#include <SocketCan.hpp>

Inheritance diagram for iv::comms::socketcan::SocketCanSettings:
[legend]
Collaboration diagram for iv::comms::socketcan::SocketCanSettings:
[legend]

Public Member Functions

 SocketCanSettings ()=default
 
 ~SocketCanSettings () override=default
 
void * ctrlOpen (const char *deviceId, iv::model::comms::socketcan::eBaudRate baudRate) override
 
uint32_t ctrlInit (void *socket, iv::model::comms::socketcan::eBaudRate baudRate) override
 
uint32_t ctrlSend (void *socket, const CMessageCan &pStcMessage) override
 
uint32_t ctrlReceive (void *socket, std::shared_ptr< CMessageCan > &message) override
 
void ctrlClose (void *socket) override
 

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 {}
 

Static Private Member Functions

static void peakBaudRateToBtr0Btr1 (iv::model::comms::socketcan::eBaudRate baudRate, void *btr0, void *btr1)
 

Constructor & Destructor Documentation

◆ SocketCanSettings()

iv::comms::socketcan::SocketCanSettings::SocketCanSettings ( )
default

◆ ~SocketCanSettings()

iv::comms::socketcan::SocketCanSettings::~SocketCanSettings ( )
overridedefault

Member Function Documentation

◆ ctrlClose()

void iv::comms::socketcan::SocketCanSettings::ctrlClose ( void * socket)
overridevirtual

◆ ctrlInit()

uint32_t iv::comms::socketcan::SocketCanSettings::ctrlInit ( void * socket,
iv::model::comms::socketcan::eBaudRate baudRate )
overridevirtual

◆ ctrlOpen()

void * iv::comms::socketcan::SocketCanSettings::ctrlOpen ( const char * deviceId,
iv::model::comms::socketcan::eBaudRate baudRate )
overridevirtual

◆ ctrlReceive()

uint32_t iv::comms::socketcan::SocketCanSettings::ctrlReceive ( void * socket,
std::shared_ptr< CMessageCan > & message )
overridevirtual

◆ ctrlSend()

uint32_t iv::comms::socketcan::SocketCanSettings::ctrlSend ( void * socket,
const CMessageCan & pStcMessage )
overridevirtual

◆ peakBaudRateToBtr0Btr1()

void iv::comms::socketcan::SocketCanSettings::peakBaudRateToBtr0Btr1 ( iv::model::comms::socketcan::eBaudRate baudRate,
void * btr0,
void * btr1 )
staticprivate

◆ prvExistsInterface()

static bool iv::comms::socketcan::ISocketCANInterface::prvExistsInterface ( const std::string & deviceId)
inlinestaticprotectedinherited

◆ prvIsInterfaceUp()

static bool iv::comms::socketcan::ISocketCANInterface::prvIsInterfaceUp ( const std::string & deviceId)
inlinestaticprotectedinherited

◆ prvIxxatKernelModuleLoad()

static void iv::comms::socketcan::ISocketCANInterface::prvIxxatKernelModuleLoad ( )
inlinestaticprotectedinherited

◆ prvPeakKernelModuleLoad()

static void iv::comms::socketcan::ISocketCANInterface::prvPeakKernelModuleLoad ( )
inlinestaticprotectedinherited

◆ prvSetBitrate()

static bool iv::comms::socketcan::ISocketCANInterface::prvSetBitrate ( const std::string & deviceId,
uint64_t btr0 )
inlinestaticprotectedinherited

◆ prvSetInterface()

static bool iv::comms::socketcan::ISocketCANInterface::prvSetInterface ( const std::string & deviceId,
bool up )
inlinestaticprotectedinherited

Member Data Documentation

◆ m_interfaceName

std::string iv::comms::socketcan::ISocketCANInterface::m_interfaceName {}
protectedinherited

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