#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 100 of file DbcMessage.h.
NewEagle::DbcMessage::DbcMessage | ( | ) |
Definition at line 73 of file DbcMessage.cpp.
NewEagle::DbcMessage::DbcMessage | ( | uint8_t | dlc, |
uint32_t | id, | ||
IdType | idType, | ||
std::string | name, | ||
uint32_t | rawId | ||
) |
Definition at line 77 of file DbcMessage.cpp.
NewEagle::DbcMessage::~DbcMessage | ( | ) |
Definition at line 91 of file DbcMessage.cpp.
void NewEagle::DbcMessage::AddSignal | ( | std::string | signalName, |
NewEagle::DbcSignal | signal | ||
) |
Definition at line 208 of file DbcMessage.cpp.
bool NewEagle::DbcMessage::AnyMultiplexedSignals | ( | ) |
Definition at line 249 of file DbcMessage.cpp.
uint8_t NewEagle::DbcMessage::GetDlc | ( | ) |
Definition at line 95 of file DbcMessage.cpp.
can_msgs::Frame NewEagle::DbcMessage::GetFrame | ( | ) |
Definition at line 120 of file DbcMessage.cpp.
uint32_t NewEagle::DbcMessage::GetId | ( | ) |
Definition at line 100 of file DbcMessage.cpp.
IdType NewEagle::DbcMessage::GetIdType | ( | ) |
Definition at line 110 of file DbcMessage.cpp.
std::string NewEagle::DbcMessage::GetName | ( | ) |
Definition at line 115 of file DbcMessage.cpp.
uint32_t NewEagle::DbcMessage::GetRawId | ( | ) |
Definition at line 105 of file DbcMessage.cpp.
NewEagle::DbcSignal * NewEagle::DbcMessage::GetSignal | ( | std::string | signalName | ) |
Definition at line 213 of file DbcMessage.cpp.
uint32_t NewEagle::DbcMessage::GetSignalCount | ( | ) |
Definition at line 234 of file DbcMessage.cpp.
std::map< std::string, NewEagle::DbcSignal > * NewEagle::DbcMessage::GetSignals | ( | ) |
Definition at line 244 of file DbcMessage.cpp.
void NewEagle::DbcMessage::SetComment | ( | NewEagle::DbcMessageComment | comment | ) |
Definition at line 239 of file DbcMessage.cpp.
void NewEagle::DbcMessage::SetFrame | ( | const can_msgs::Frame::ConstPtr & | msg | ) |
Definition at line 166 of file DbcMessage.cpp.
void NewEagle::DbcMessage::SetRawText | ( | std::string | rawText | ) |
Definition at line 229 of file DbcMessage.cpp.
|
private |
Definition at line 137 of file DbcMessage.h.
|
private |
Definition at line 131 of file DbcMessage.h.
|
private |
Definition at line 132 of file DbcMessage.h.
|
private |
Definition at line 133 of file DbcMessage.h.
|
private |
Definition at line 134 of file DbcMessage.h.
|
private |
Definition at line 135 of file DbcMessage.h.
|
private |
Definition at line 136 of file DbcMessage.h.
|
private |
Definition at line 130 of file DbcMessage.h.