|
DBC framework
|
Created: 2026-03-13 Author: Deeaitch (Dim. Himro) More...
#include <iostream>#include <iomanip>#include <memory>#include <vector>#include <cstddef>#include "dbc_parser.h"#include "dbc_tree_builder.h"#include "dbc_decode_builder.h"#include "dbc_decoder.h"Go to the source code of this file.
Functions | |
| static void | PrintTree (const TreeNode *node, int indent) |
| static void | PrintDecodedFrame (const DecodedFrameValue &decoded) |
| int | main (int argc, char *argv[]) |
Created: 2026-03-13 Author: Deeaitch (Dim. Himro)
Licensed under the MIT License. See LICENSE file in the project root for full license text.
Definition in file main.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 97 of file main.cpp.
References DbcTreeBuilder::Build(), DbcDecodeBuilder::Build(), RawCanFrame::canId, RawCanFrame::data, DbcDecoder::Decode(), DecodeDatabase::frames, RawCanFrame::isExtended, DbcParser::ParseFile(), PrintDecodedFrame(), and PrintTree().
|
static |
Definition at line 75 of file main.cpp.
References DecodedSignalValue::definition, DecodedFrameValue::definition, DecodeSignal::name, DecodeFrame::name, DecodedSignalValue::physicalValue, DecodedSignalValue::rawValue, DecodedFrameValue::signals, DecodeSignal::unit, DecodedSignalValue::valid, and DecodedFrameValue::valid.
Referenced by main().
|
static |
Definition at line 23 of file main.cpp.
References FrameInfo::canId, FrameInfo::dlc, Frame, TreeNode::GetChild(), TreeNode::GetChildCount(), TreeNode::GetFrame(), TreeNode::GetName(), TreeNode::GetSignal(), TreeNode::GetType(), FrameInfo::hasPgn, FrameInfo::isExtended, SignalInfo::length, FrameInfo::pgn, PrintTree(), Root, Signal, SignalInfo::startBit, and SignalInfo::unit.
Referenced by main(), and PrintTree().