DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
DecodeFrame Struct Reference

Runtime-ready frame definition. More...

#include <decode_database.h>

Public Member Functions

FrameKey GetKey () const
 

Public Attributes

std::string name
 
std::uint32_t canId = 0U
 
bool isExtended = false
 
std::uint8_t dlc = 0U
 
std::uint32_t pgn = 0U
 
bool hasPgn = false
 
std::string transmitter
 
std::string comment
 
std::vector< DecodeSignal > public
 

Detailed Description

Runtime-ready frame definition.

Definition at line 65 of file decode_database.h.

Member Function Documentation

◆ GetKey()

FrameKey DecodeFrame::GetKey ( ) const
inline

Definition at line 78 of file decode_database.h.

Member Data Documentation

◆ name

std::string DecodeFrame::name

Frame name.

Definition at line 66 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ canId

std::uint32_t DecodeFrame::canId = 0U

Normalized CAN ID.

Definition at line 67 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ isExtended

bool DecodeFrame::isExtended = false

true for extended frame.

Definition at line 68 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ dlc

std::uint8_t DecodeFrame::dlc = 0U

Payload length.

Definition at line 69 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ pgn

std::uint32_t DecodeFrame::pgn = 0U

PGN if available.

Definition at line 70 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ hasPgn

bool DecodeFrame::hasPgn = false

true if PGN is valid.

Definition at line 71 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ transmitter

std::string DecodeFrame::transmitter

Transmitter ECU.

Definition at line 72 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ comment

std::string DecodeFrame::comment

Frame comment.

Definition at line 73 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ public

std::vector<DecodeSignal> DecodeFrame::public

Signal definitions.

Definition at line 74 of file decode_database.h.


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