#include <CCanAccess.h>
Inherited by AnaCanScan, MockCanAccess, PKCanScan, PKCanScan, STCanScan, STCanScan, and STCanScan.
Definition at line 82 of file CCanAccess.h.
◆ CCanAccess()
CanModule::CCanAccess::CCanAccess |
( |
| ) |
|
|
inline |
◆ ~CCanAccess()
virtual CanModule::CCanAccess::~CCanAccess |
( |
| ) |
|
|
inlinevirtual |
◆ createBus()
virtual bool CanModule::CCanAccess::createBus |
( |
const string |
name, |
|
|
const string |
parameters |
|
) |
| |
|
pure virtual |
◆ getBusName()
std::string& CanModule::CCanAccess::getBusName |
( |
| ) |
|
|
inline |
◆ getLogItInstance()
the LogIt instance is NOT shared by inheritance in windows, the instance has to be passed explicitly from the parent
Definition at line 174 of file CCanAccess.h.
◆ getStatistics()
virtual void CanModule::CCanAccess::getStatistics |
( |
CanStatistics & |
result | ) |
|
|
pure virtual |
◆ initialiseLogging()
bool CanModule::CCanAccess::initialiseLogging |
( |
LogItInstance * |
remoteInstance | ) |
|
|
inline |
◆ parseNameAndParameters()
vector<string> CanModule::CCanAccess::parseNameAndParameters |
( |
string |
name, |
|
|
string |
parameters |
|
) |
| |
|
inline |
care for different syntax: "sock:0" => sock:can0 "sock:can0" => "sock:can0" "sock:vcan0" => "sock:vcan0"
"sock:whatsoever0" => "sock:can0" "sock:whatsoevervcan0" => "sock:vcan0" "sock:wvcanhatso0" => "sock:vcan0"
if you specify only an integer portnumber we default to "can" if you specify ":can" we stay with "can" if you specify ":vcan" we stay with "vcan" if you specify anything else which contains a string and an integer, we use can if you specify anything else which contains a string containing ":vcan" and an integer, we use vcan so basically you have the freedom to call your devices as you want. Maybe this is too much freedom.
Definition at line 184 of file CCanAccess.h.
◆ sendMessage() [1/2]
virtual bool CanModule::CCanAccess::sendMessage |
( |
short |
cobID, |
|
|
unsigned char |
len, |
|
|
unsigned char * |
message, |
|
|
bool |
rtr = false |
|
) |
| |
|
pure virtual |
◆ sendMessage() [2/2]
virtual bool CanModule::CCanAccess::sendMessage |
( |
CanMessage * |
canm | ) |
|
|
inlinevirtual |
◆ sendRemoteRequest()
virtual bool CanModule::CCanAccess::sendRemoteRequest |
( |
short |
cobID | ) |
|
|
pure virtual |
◆ _lh
◆ canMessageCame
boost::signals2::signal<void (const CanMessage &) > CanModule::CCanAccess::canMessageCame |
◆ canMessageError
boost::signals2::signal<void (const int,const char *,timeval &) > CanModule::CCanAccess::canMessageError |
◆ m_CanParameters
◆ m_sBusName
string CanModule::CCanAccess::m_sBusName |
|
protected |
◆ s_cconnection
boost::signals2::connection CanModule::CCanAccess::s_cconnection |
|
private |
◆ s_connectionIndex
int CanModule::CCanAccess::s_connectionIndex |
|
private |
◆ s_logItRemoteInstance
The documentation for this class was generated from the following file: