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 |
Private Attributes | |
CanId | _canIdentifier |
string | _frameData |
struct can_frame | _rawFrame |
Represents a CAN message that was received.
Definition at line 55 of file CanMessage.hpp.
|
inline |
Definition at line 57 of file CanMessage.hpp.
References _canIdentifier, _frameData, _rawFrame, and sockcanpp::CanId::CanId().
Referenced by sockcanpp::CanDriver::readMessageLock().
|
inline |
Definition at line 60 of file CanMessage.hpp.
References _canIdentifier, _frameData, _rawFrame, and sockcanpp::CanId::CanId().
|
inlinevirtual |
Definition at line 73 of file CanMessage.hpp.
|
inline |
Definition at line 76 of file CanMessage.hpp.
References _canIdentifier.
Referenced by sockcanpp::CanDriver::sendMessage().
|
inline |
Definition at line 77 of file CanMessage.hpp.
References _frameData.
Referenced by sockcanpp::CanDriver::sendMessage().
|
inline |
Definition at line 78 of file CanMessage.hpp.
References _rawFrame.
Referenced by sockcanpp::CanDriver::sendMessage().
|
private |
Definition at line 81 of file CanMessage.hpp.
Referenced by CanMessage(), and getCanId().
|
private |
Definition at line 83 of file CanMessage.hpp.
Referenced by CanMessage(), and getFrameData().
|
private |
Definition at line 85 of file CanMessage.hpp.
Referenced by CanMessage(), and getRawFrame().