|
DBC Framework
DBC parsing and CAN signal decoding framework
|
One decoded signal value. More...
#include <dbc_decoder.h>
Public Member Functions | |
| const std::string * | GetValueDescription () const |
Public Attributes | |
| std::shared_ptr< const DecodeSignal > | definition |
| SignalKey | key |
| RawSignalValue | rawValue = std::uint64_t(0U) |
| double | physicalValue = 0.0 |
| bool | valid = false |
| SignalDecodeStatus | status = SignalDecodeStatus::InvalidDefinition |
One decoded signal value.
Definition at line 52 of file dbc_decoder.h.
|
inline |
Lookup using the raw integer; nullptr for invalid or unmapped values.
Definition at line 61 of file dbc_decoder.h.
References definition, rawValue, and valid.
| std::shared_ptr<const DecodeSignal> DecodedSignalValue::definition |
Owning immutable definition.
Definition at line 53 of file dbc_decoder.h.
Referenced by DbcDecoder::Decode(), and GetValueDescription().
| SignalKey DecodedSignalValue::key |
Stable application identifier.
Definition at line 54 of file dbc_decoder.h.
Referenced by DbcDecoder::Decode().
| RawSignalValue DecodedSignalValue::rawValue = std::uint64_t(0U) |
Exact raw value for Valid or PhysicalConversionFailed.
Definition at line 55 of file dbc_decoder.h.
Referenced by GetValueDescription().
| double DecodedSignalValue::physicalValue = 0.0 |
Conversion result, possibly NaN/Inf on failure.
Definition at line 56 of file dbc_decoder.h.
| bool DecodedSignalValue::valid = false |
true if decoding succeeded.
Definition at line 57 of file dbc_decoder.h.
Referenced by DbcDecoder::Decode(), and GetValueDescription().
| SignalDecodeStatus DecodedSignalValue::status = SignalDecodeStatus::InvalidDefinition |
Definition at line 58 of file dbc_decoder.h.