#include <DbcMessage.h>
Public Member Functions | |
void | AddSignal (std::string signalName, NewEagle::DbcSignal signal) |
bool | AnyMultiplexedSignals () |
DbcMessage () | |
DbcMessage (uint8_t dlc, uint32_t id, IdType idType, std::string name, uint32_t rawId) | |
uint8_t | GetDlc () |
can_msgs::Frame | GetFrame () |
uint32_t | GetId () |
IdType | GetIdType () |
std::string | GetName () |
uint32_t | GetRawId () |
NewEagle::DbcSignal * | GetSignal (std::string signalName) |
uint32_t | GetSignalCount () |
std::map< std::string, NewEagle::DbcSignal > * | GetSignals () |
void | SetComment (NewEagle::DbcMessageComment comment) |
void | SetFrame (const can_msgs::Frame::ConstPtr &msg) |
void | SetRawText (std::string rawText) |
~DbcMessage () | |
Private Attributes | |
NewEagle::DbcMessageComment | _comment |
uint8_t | _data [8] |
uint8_t | _dlc |
uint32_t | _id |
IdType | _idType |
std::string | _name |
uint32_t | _rawId |
std::map< std::string, NewEagle::DbcSignal > | _signals |
Definition at line 68 of file DbcMessage.h.
NewEagle::DbcMessage::DbcMessage | ( | ) |
Definition at line 41 of file DbcMessage.cpp.
NewEagle::DbcMessage::DbcMessage | ( | uint8_t | dlc, |
uint32_t | id, | ||
IdType | idType, | ||
std::string | name, | ||
uint32_t | rawId | ||
) |
Definition at line 45 of file DbcMessage.cpp.
NewEagle::DbcMessage::~DbcMessage | ( | ) |
Definition at line 59 of file DbcMessage.cpp.
void NewEagle::DbcMessage::AddSignal | ( | std::string | signalName, |
NewEagle::DbcSignal | signal | ||
) |
Definition at line 176 of file DbcMessage.cpp.
bool NewEagle::DbcMessage::AnyMultiplexedSignals | ( | ) |
Definition at line 217 of file DbcMessage.cpp.
uint8_t NewEagle::DbcMessage::GetDlc | ( | ) |
Definition at line 63 of file DbcMessage.cpp.
can_msgs::Frame NewEagle::DbcMessage::GetFrame | ( | ) |
Definition at line 88 of file DbcMessage.cpp.
uint32_t NewEagle::DbcMessage::GetId | ( | ) |
Definition at line 68 of file DbcMessage.cpp.
IdType NewEagle::DbcMessage::GetIdType | ( | ) |
Definition at line 78 of file DbcMessage.cpp.
std::string NewEagle::DbcMessage::GetName | ( | ) |
Definition at line 83 of file DbcMessage.cpp.
uint32_t NewEagle::DbcMessage::GetRawId | ( | ) |
Definition at line 73 of file DbcMessage.cpp.
NewEagle::DbcSignal * NewEagle::DbcMessage::GetSignal | ( | std::string | signalName | ) |
Definition at line 181 of file DbcMessage.cpp.
uint32_t NewEagle::DbcMessage::GetSignalCount | ( | ) |
Definition at line 202 of file DbcMessage.cpp.
std::map< std::string, NewEagle::DbcSignal > * NewEagle::DbcMessage::GetSignals | ( | ) |
Definition at line 212 of file DbcMessage.cpp.
void NewEagle::DbcMessage::SetComment | ( | NewEagle::DbcMessageComment | comment | ) |
Definition at line 207 of file DbcMessage.cpp.
void NewEagle::DbcMessage::SetFrame | ( | const can_msgs::Frame::ConstPtr & | msg | ) |
Definition at line 134 of file DbcMessage.cpp.
void NewEagle::DbcMessage::SetRawText | ( | std::string | rawText | ) |
Definition at line 197 of file DbcMessage.cpp.
|
private |
Definition at line 105 of file DbcMessage.h.
|
private |
Definition at line 99 of file DbcMessage.h.
|
private |
Definition at line 100 of file DbcMessage.h.
|
private |
Definition at line 101 of file DbcMessage.h.
|
private |
Definition at line 102 of file DbcMessage.h.
|
private |
Definition at line 103 of file DbcMessage.h.
|
private |
Definition at line 104 of file DbcMessage.h.
|
private |
Definition at line 98 of file DbcMessage.h.