Libsockcanpp
A complete C++ wrapper around socketcan.
|
Represents a CAN message that was received. More...
#include <CanMessage.hpp>
Public Member Functions | |
CanMessage (const struct can_frame frame) | |
CanMessage (const CanId canId, const string &frameData) | |
virtual | ~CanMessage () |
const CanId | getCanId () const |
const string | getFrameData () const |
const can_frame | getRawFrame () const |
CanMessage (const struct canxl_frame frame) | |
CanMessage (const CanId &priorityField, const CanId &acceptanceField, const string &frameData) | |
virtual | ~CanMessage ()=default |
Private Attributes | |
CanId | _canIdentifier |
string | _frameData |
struct can_frame | _rawFrame |
struct canxl_frame | _rawFrame |
Represents a CAN message that was received.
Definition at line 53 of file CanMessage.hpp.
|
inline |
Definition at line 55 of file CanMessage.hpp.
References _canIdentifier, _frameData, _rawFrame, and sockcanpp::CanId::CanId().
Referenced by sockcanpp::CanDriver::readMessageLock().
|
inline |
Definition at line 58 of file CanMessage.hpp.
References _canIdentifier, _frameData, and _rawFrame.
|
inlinevirtual |
Definition at line 71 of file CanMessage.hpp.
|
inline |
|
inline |
Definition at line 56 of file CanXLMessage.hpp.
|
virtualdefault |
|
inline |
Definition at line 74 of file CanMessage.hpp.
References _canIdentifier.
Referenced by sockcanpp::CanDriver::sendMessage().
|
inline |
Definition at line 75 of file CanMessage.hpp.
References _frameData.
Referenced by sockcanpp::CanDriver::sendMessage().
|
inline |
Definition at line 76 of file CanMessage.hpp.
References _rawFrame.
Referenced by sockcanpp::CanDriver::sendMessage().
|
private |
Definition at line 79 of file CanMessage.hpp.
Referenced by CanMessage(), CanMessage(), and getCanId().
|
private |
Definition at line 81 of file CanMessage.hpp.
Referenced by CanMessage(), CanMessage(), and getFrameData().
|
private |
Definition at line 83 of file CanMessage.hpp.
Referenced by CanMessage(), CanMessage(), CanMessage(), and getRawFrame().
|
private |
Definition at line 77 of file CanXLMessage.hpp.