DBC Framework
DBC parsing and CAN signal decoding framework
DecodeSignal Struct Reference

Runtime-ready signal definition. More...

#include <decode_database.h>

Public Attributes

std::string name
 
std::uint32_t startBit
 
std::uint32_t length
 
ByteOrder byteOrder
 
ValueType valueType
 
double factor
 
double offset
 
double minimum
 
double maximum
 
std::string unit
 
std::vector< std::string > receivers
 
std::string comment
 

Detailed Description

Runtime-ready signal definition.

Definition at line 39 of file decode_database.h.

Constructor & Destructor Documentation

◆ DecodeSignal()

DecodeSignal::DecodeSignal ( )
inline

Definition at line 53 of file decode_database.h.

Member Data Documentation

◆ name

std::string DecodeSignal::name

Signal name.

Definition at line 40 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ startBit

std::uint32_t DecodeSignal::startBit

DBC start bit.

Definition at line 41 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ length

std::uint32_t DecodeSignal::length

Signal length in bits.

Definition at line 42 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ byteOrder

ByteOrder DecodeSignal::byteOrder

Intel or Motorola.

Definition at line 43 of file decode_database.h.

Referenced by DbcDecodeBuilder::Build().

◆ valueType

ValueType DecodeSignal::valueType

Signed or unsigned.

Definition at line 44 of file decode_database.h.

Referenced by DbcDecoder::Decode().

◆ factor

double DecodeSignal::factor

Scaling factor.

Definition at line 45 of file decode_database.h.

◆ offset

double DecodeSignal::offset

Physical offset.

Definition at line 46 of file decode_database.h.

◆ minimum

double DecodeSignal::minimum

Minimum physical value.

Definition at line 47 of file decode_database.h.

◆ maximum

double DecodeSignal::maximum

Maximum physical value.

Definition at line 48 of file decode_database.h.

◆ unit

std::string DecodeSignal::unit

Physical unit.

Definition at line 49 of file decode_database.h.

◆ receivers

std::vector<std::string> DecodeSignal::receivers

Receivers.

Definition at line 50 of file decode_database.h.

◆ comment

std::string DecodeSignal::comment

Comment.

Definition at line 51 of file decode_database.h.


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