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

#include <decode_database.h>

Public Attributes

std::shared_ptr< const DecodeFrame > definition
 
bool ambiguous = false
 

Detailed Description

A PGN lookup rejects multiple definitions rather than choosing by order.

Definition at line 92 of file decode_database.h.

Member Data Documentation

◆ definition

std::shared_ptr<const DecodeFrame> PgnLookupResult::definition

Owning matched definition; empty if missing or ambiguous.

Definition at line 93 of file decode_database.h.

Referenced by DbcDecoder::FindFrame(), and DecodeDatabase::FindFrameByPgn().

◆ ambiguous

bool PgnLookupResult::ambiguous = false

True when multiple definitions share the requested PGN.

Definition at line 94 of file decode_database.h.

Referenced by DecodeDatabase::FindFrameByPgn().


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