Public Types | Public Member Functions | Private Types | Private Attributes | Friends
Message Class Reference

#include <DbcMessage.hpp>

List of all members.

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

typedef signals_t::const_iterator Message::const_iterator

Definition at line 65 of file DbcMessage.hpp.

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

Definition at line 52 of file DbcMessage.hpp.


Member Function Documentation

const_iterator Message::begin ( ) const [inline]

Definition at line 81 of file DbcMessage.hpp.

const_iterator Message::end ( ) const [inline]

Definition at line 82 of file DbcMessage.hpp.

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

Definition at line 72 of file DbcMessage.hpp.

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

Definition at line 73 of file DbcMessage.hpp.

uint32_t Message::getId ( ) const [inline]

Definition at line 71 of file DbcMessage.hpp.

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

Definition at line 70 of file DbcMessage.hpp.

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

Definition at line 79 of file DbcMessage.cpp.

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

Definition at line 83 of file DbcMessage.hpp.


Friends And Related Function Documentation

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

Definition at line 41 of file DbcMessage.cpp.


Member Data Documentation

std::size_t Message::dlc [private]

Definition at line 58 of file DbcMessage.hpp.

std::string Message::from [private]

Definition at line 60 of file DbcMessage.hpp.

uint32_t Message::id [private]

Definition at line 56 of file DbcMessage.hpp.

std::string Message::name [private]

Definition at line 54 of file DbcMessage.hpp.

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 Thu Jun 6 2019 21:16:41