Public Types | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
Message Class Reference

#include <DbcMessage.hpp>

Public Types

typedef signals_t::const_iterator const_iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
std::size_t getDlc () const
 
const std::string & getFrom () const
 
uint32_t getId () const
 
const std::string & getName () const
 
std::set< std::string > getTo () const
 
signals_t::const_reference operator[] (std::size_t elem)
 

Private Types

typedef std::vector< Signalsignals_t
 

Private Attributes

std::size_t dlc
 
std::string from
 
uint32_t id
 
std::string name
 
signals_t signals
 

Friends

std::istream & operator>> (std::istream &in, Message &msg)
 

Detailed Description

Class representing a Message in the DBC-File. It allows its user to query Data and to iterate over the Signals contained in the Message

Definition at line 50 of file DbcMessage.hpp.

Member Typedef Documentation

◆ const_iterator

typedef signals_t::const_iterator Message::const_iterator

Definition at line 65 of file DbcMessage.hpp.

◆ signals_t

typedef std::vector<Signal> Message::signals_t
private

Definition at line 52 of file DbcMessage.hpp.

Member Function Documentation

◆ begin()

const_iterator Message::begin ( ) const
inline

Definition at line 81 of file DbcMessage.hpp.

◆ end()

const_iterator Message::end ( ) const
inline

Definition at line 82 of file DbcMessage.hpp.

◆ getDlc()

std::size_t Message::getDlc ( ) const
inline

Definition at line 72 of file DbcMessage.hpp.

◆ getFrom()

const std::string& Message::getFrom ( ) const
inline

Definition at line 73 of file DbcMessage.hpp.

◆ getId()

uint32_t Message::getId ( ) const
inline

Definition at line 71 of file DbcMessage.hpp.

◆ getName()

const std::string& Message::getName ( ) const
inline

Definition at line 70 of file DbcMessage.hpp.

◆ getTo()

std::set< std::string > Message::getTo ( ) const

Definition at line 79 of file DbcMessage.cpp.

◆ operator[]()

signals_t::const_reference Message::operator[] ( std::size_t  elem)
inline

Definition at line 83 of file DbcMessage.hpp.

Friends And Related Function Documentation

◆ operator>>

std::istream& operator>> ( std::istream &  in,
Message msg 
)
friend

Definition at line 41 of file DbcMessage.cpp.

Member Data Documentation

◆ dlc

std::size_t Message::dlc
private

Definition at line 58 of file DbcMessage.hpp.

◆ from

std::string Message::from
private

Definition at line 60 of file DbcMessage.hpp.

◆ id

uint32_t Message::id
private

Definition at line 56 of file DbcMessage.hpp.

◆ name

std::string Message::name
private

Definition at line 54 of file DbcMessage.hpp.

◆ signals

signals_t Message::signals
private

Definition at line 62 of file DbcMessage.hpp.


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


dataspeed_can_tools
Author(s): Micho Radovnikovich
autogenerated on Wed Feb 8 2023 03:16:50