Public Member Functions | Private Attributes | List of all members
NewEagle::DbcMessage Class Reference

#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::DbcSignalGetSignal (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
 

Detailed Description

Definition at line 100 of file DbcMessage.h.

Constructor & Destructor Documentation

◆ DbcMessage() [1/2]

NewEagle::DbcMessage::DbcMessage ( )

Definition at line 73 of file DbcMessage.cpp.

◆ DbcMessage() [2/2]

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.

◆ ~DbcMessage()

NewEagle::DbcMessage::~DbcMessage ( )

Definition at line 91 of file DbcMessage.cpp.

Member Function Documentation

◆ AddSignal()

void NewEagle::DbcMessage::AddSignal ( std::string  signalName,
NewEagle::DbcSignal  signal 
)

Definition at line 208 of file DbcMessage.cpp.

◆ AnyMultiplexedSignals()

bool NewEagle::DbcMessage::AnyMultiplexedSignals ( )

Definition at line 249 of file DbcMessage.cpp.

◆ GetDlc()

uint8_t NewEagle::DbcMessage::GetDlc ( )

Definition at line 95 of file DbcMessage.cpp.

◆ GetFrame()

can_msgs::Frame NewEagle::DbcMessage::GetFrame ( )

Definition at line 120 of file DbcMessage.cpp.

◆ GetId()

uint32_t NewEagle::DbcMessage::GetId ( )

Definition at line 100 of file DbcMessage.cpp.

◆ GetIdType()

IdType NewEagle::DbcMessage::GetIdType ( )

Definition at line 110 of file DbcMessage.cpp.

◆ GetName()

std::string NewEagle::DbcMessage::GetName ( )

Definition at line 115 of file DbcMessage.cpp.

◆ GetRawId()

uint32_t NewEagle::DbcMessage::GetRawId ( )

Definition at line 105 of file DbcMessage.cpp.

◆ GetSignal()

NewEagle::DbcSignal * NewEagle::DbcMessage::GetSignal ( std::string  signalName)

Definition at line 213 of file DbcMessage.cpp.

◆ GetSignalCount()

uint32_t NewEagle::DbcMessage::GetSignalCount ( )

Definition at line 234 of file DbcMessage.cpp.

◆ GetSignals()

std::map< std::string, NewEagle::DbcSignal > * NewEagle::DbcMessage::GetSignals ( )

Definition at line 244 of file DbcMessage.cpp.

◆ SetComment()

void NewEagle::DbcMessage::SetComment ( NewEagle::DbcMessageComment  comment)

Definition at line 239 of file DbcMessage.cpp.

◆ SetFrame()

void NewEagle::DbcMessage::SetFrame ( const can_msgs::Frame::ConstPtr &  msg)

Definition at line 166 of file DbcMessage.cpp.

◆ SetRawText()

void NewEagle::DbcMessage::SetRawText ( std::string  rawText)

Definition at line 229 of file DbcMessage.cpp.

Member Data Documentation

◆ _comment

NewEagle::DbcMessageComment NewEagle::DbcMessage::_comment
private

Definition at line 137 of file DbcMessage.h.

◆ _data

uint8_t NewEagle::DbcMessage::_data[8]
private

Definition at line 131 of file DbcMessage.h.

◆ _dlc

uint8_t NewEagle::DbcMessage::_dlc
private

Definition at line 132 of file DbcMessage.h.

◆ _id

uint32_t NewEagle::DbcMessage::_id
private

Definition at line 133 of file DbcMessage.h.

◆ _idType

IdType NewEagle::DbcMessage::_idType
private

Definition at line 134 of file DbcMessage.h.

◆ _name

std::string NewEagle::DbcMessage::_name
private

Definition at line 135 of file DbcMessage.h.

◆ _rawId

uint32_t NewEagle::DbcMessage::_rawId
private

Definition at line 136 of file DbcMessage.h.

◆ _signals

std::map<std::string, NewEagle::DbcSignal> NewEagle::DbcMessage::_signals
private

Definition at line 130 of file DbcMessage.h.


The documentation for this class was generated from the following files:


can_dbc_parser
Author(s): Ryan Borchert
autogenerated on Sat Apr 9 2022 02:34:32