DBC framework
Public Member Functions | Public Attributes | List of all members
DecodeFrame Struct Reference

Runtime-ready frame definition. More...

#include <decode_database.h>

Public Member Functions

 DecodeFrame ()
 

Public Attributes

std::string name
 
std::uint32_t canId
 
bool isExtended
 
std::uint8_t dlc
 
std::uint32_t pgn
 
bool hasPgn
 
std::string transmitter
 
std::string comment
 
std::vector< DecodeSignalsignals
 

Detailed Description

Runtime-ready frame definition.

Definition at line 72 of file decode_database.h.

Constructor & Destructor Documentation

◆ DecodeFrame()

DecodeFrame::DecodeFrame ( )
inline

Definition at line 83 of file decode_database.h.

Member Data Documentation

◆ canId

std::uint32_t DecodeFrame::canId

Normalized CAN ID.

Definition at line 74 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ comment

std::string DecodeFrame::comment

Frame comment.

Definition at line 80 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ dlc

std::uint8_t DecodeFrame::dlc

Payload length.

Definition at line 76 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ hasPgn

bool DecodeFrame::hasPgn

true if PGN is valid.

Definition at line 78 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ isExtended

bool DecodeFrame::isExtended

true for extended frame.

Definition at line 75 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ name

std::string DecodeFrame::name

Frame name.

Definition at line 73 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build(), and PrintDecodedFrame().

◆ pgn

std::uint32_t DecodeFrame::pgn

PGN if available.

Definition at line 77 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ signals

std::vector<DecodeSignal> DecodeFrame::signals

Signal definitions.

Definition at line 81 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build(), and DbcDecoder::Decode().

◆ transmitter

std::string DecodeFrame::transmitter

Transmitter ECU.

Definition at line 79 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().


The documentation for this struct was generated from the following file: