88 lines
6.6 KiB
TeX
88 lines
6.6 KiB
TeX
\hypertarget{main_8cpp}{}\doxysection{main.\+cpp File Reference}
|
|
\label{main_8cpp}\index{main.cpp@{main.cpp}}
|
|
|
|
|
|
Created\+: 2026-\/03-\/13 Author\+: Deeaitch (Dim. Himro)
|
|
|
|
|
|
{\ttfamily \#include $<$iostream$>$}\newline
|
|
{\ttfamily \#include $<$iomanip$>$}\newline
|
|
{\ttfamily \#include $<$memory$>$}\newline
|
|
{\ttfamily \#include $<$vector$>$}\newline
|
|
{\ttfamily \#include $<$cstddef$>$}\newline
|
|
{\ttfamily \#include \char`\"{}dbc\+\_\+parser.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include \char`\"{}dbc\+\_\+tree\+\_\+builder.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include \char`\"{}dbc\+\_\+decode\+\_\+builder.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include \char`\"{}dbc\+\_\+decoder.\+h\char`\"{}}\newline
|
|
\doxysubsection*{Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
static void \mbox{\hyperlink{main_8cpp_a57aefef9cfd52a8190df002e12808e0a}{Print\+Tree}} (const \mbox{\hyperlink{classTreeNode}{Tree\+Node}} $\ast$node, int indent)
|
|
\item
|
|
static void \mbox{\hyperlink{main_8cpp_a26dbbea5b56e3fbc451b68f217d5063f}{Print\+Decoded\+Frame}} (const \mbox{\hyperlink{structDecodedFrameValue}{Decoded\+Frame\+Value}} \&decoded)
|
|
\item
|
|
int \mbox{\hyperlink{main_8cpp_a0ddf1224851353fc92bfbff6f499fa97}{main}} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
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 \mbox{\hyperlink{main_8cpp_source}{main.\+cpp}}.
|
|
|
|
|
|
|
|
\doxysubsection{Function Documentation}
|
|
\mbox{\Hypertarget{main_8cpp_a0ddf1224851353fc92bfbff6f499fa97}\label{main_8cpp_a0ddf1224851353fc92bfbff6f499fa97}}
|
|
\index{main.cpp@{main.cpp}!main@{main}}
|
|
\index{main@{main}!main.cpp@{main.cpp}}
|
|
\doxysubsubsection{\texorpdfstring{main()}{main()}}
|
|
{\footnotesize\ttfamily int main (\begin{DoxyParamCaption}\item[{int}]{argc, }\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{main_8cpp_source_l00097}{97}} of file \mbox{\hyperlink{main_8cpp_source}{main.\+cpp}}.
|
|
|
|
|
|
|
|
References \mbox{\hyperlink{dbc__tree__builder_8cpp_source_l00014}{Dbc\+Tree\+Builder\+::\+Build()}}, \mbox{\hyperlink{dbc__decode__builder_8cpp_source_l00014}{Dbc\+Decode\+Builder\+::\+Build()}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00024}{Raw\+Can\+Frame\+::can\+Id}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00026}{Raw\+Can\+Frame\+::data}}, \mbox{\hyperlink{dbc__decoder_8cpp_source_l00031}{Dbc\+Decoder\+::\+Decode()}}, \mbox{\hyperlink{decode__database_8h_source_l00133}{Decode\+Database\+::frames}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00025}{Raw\+Can\+Frame\+::is\+Extended}}, \mbox{\hyperlink{dbc__parser_8cpp_source_l00040}{Dbc\+Parser\+::\+Parse\+File()}}, \mbox{\hyperlink{main_8cpp_source_l00075}{Print\+Decoded\+Frame()}}, and \mbox{\hyperlink{main_8cpp_source_l00023}{Print\+Tree()}}.
|
|
|
|
\mbox{\Hypertarget{main_8cpp_a26dbbea5b56e3fbc451b68f217d5063f}\label{main_8cpp_a26dbbea5b56e3fbc451b68f217d5063f}}
|
|
\index{main.cpp@{main.cpp}!PrintDecodedFrame@{PrintDecodedFrame}}
|
|
\index{PrintDecodedFrame@{PrintDecodedFrame}!main.cpp@{main.cpp}}
|
|
\doxysubsubsection{\texorpdfstring{PrintDecodedFrame()}{PrintDecodedFrame()}}
|
|
{\footnotesize\ttfamily static void Print\+Decoded\+Frame (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{structDecodedFrameValue}{Decoded\+Frame\+Value}} \&}]{decoded }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{main_8cpp_source_l00075}{75}} of file \mbox{\hyperlink{main_8cpp_source}{main.\+cpp}}.
|
|
|
|
|
|
|
|
References \mbox{\hyperlink{dbc__decoder_8h_source_l00039}{Decoded\+Signal\+Value\+::definition}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00056}{Decoded\+Frame\+Value\+::definition}}, \mbox{\hyperlink{decode__database_8h_source_l00040}{Decode\+Signal\+::name}}, \mbox{\hyperlink{decode__database_8h_source_l00073}{Decode\+Frame\+::name}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00041}{Decoded\+Signal\+Value\+::physical\+Value}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00040}{Decoded\+Signal\+Value\+::raw\+Value}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00057}{Decoded\+Frame\+Value\+::signals}}, \mbox{\hyperlink{decode__database_8h_source_l00049}{Decode\+Signal\+::unit}}, \mbox{\hyperlink{dbc__decoder_8h_source_l00042}{Decoded\+Signal\+Value\+::valid}}, and \mbox{\hyperlink{dbc__decoder_8h_source_l00058}{Decoded\+Frame\+Value\+::valid}}.
|
|
|
|
|
|
|
|
Referenced by \mbox{\hyperlink{main_8cpp_source_l00097}{main()}}.
|
|
|
|
\mbox{\Hypertarget{main_8cpp_a57aefef9cfd52a8190df002e12808e0a}\label{main_8cpp_a57aefef9cfd52a8190df002e12808e0a}}
|
|
\index{main.cpp@{main.cpp}!PrintTree@{PrintTree}}
|
|
\index{PrintTree@{PrintTree}!main.cpp@{main.cpp}}
|
|
\doxysubsubsection{\texorpdfstring{PrintTree()}{PrintTree()}}
|
|
{\footnotesize\ttfamily static void Print\+Tree (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classTreeNode}{Tree\+Node}} $\ast$}]{node, }\item[{int}]{indent }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{main_8cpp_source_l00023}{23}} of file \mbox{\hyperlink{main_8cpp_source}{main.\+cpp}}.
|
|
|
|
|
|
|
|
References \mbox{\hyperlink{frame__info_8h_source_l00026}{Frame\+Info\+::can\+Id}}, \mbox{\hyperlink{frame__info_8h_source_l00030}{Frame\+Info\+::dlc}}, \mbox{\hyperlink{tree__node_8h_acac9cbaeea226ed297804c012dc12b16a3bb3e8c8a24891ba0f7608bcc96f8b0a}{Frame}}, \mbox{\hyperlink{tree__node_8cpp_source_l00047}{Tree\+Node\+::\+Get\+Child()}}, \mbox{\hyperlink{tree__node_8cpp_source_l00043}{Tree\+Node\+::\+Get\+Child\+Count()}}, \mbox{\hyperlink{tree__node_8cpp_source_l00069}{Tree\+Node\+::\+Get\+Frame()}}, \mbox{\hyperlink{tree__node_8cpp_source_l00065}{Tree\+Node\+::\+Get\+Name()}}, \mbox{\hyperlink{tree__node_8cpp_source_l00073}{Tree\+Node\+::\+Get\+Signal()}}, \mbox{\hyperlink{tree__node_8cpp_source_l00061}{Tree\+Node\+::\+Get\+Type()}}, \mbox{\hyperlink{frame__info_8h_source_l00029}{Frame\+Info\+::has\+Pgn}}, \mbox{\hyperlink{frame__info_8h_source_l00027}{Frame\+Info\+::is\+Extended}}, \mbox{\hyperlink{signal__info_8h_source_l00025}{Signal\+Info\+::length}}, \mbox{\hyperlink{frame__info_8h_source_l00028}{Frame\+Info\+::pgn}}, \mbox{\hyperlink{main_8cpp_source_l00023}{Print\+Tree()}}, \mbox{\hyperlink{tree__node_8h_acac9cbaeea226ed297804c012dc12b16afa03eb688ad8aa1db593d33dabd89bad}{Root}}, \mbox{\hyperlink{tree__node_8h_acac9cbaeea226ed297804c012dc12b16a085fea7abdc5d904fe69a3081efd7398}{Signal}}, \mbox{\hyperlink{signal__info_8h_source_l00024}{Signal\+Info\+::start\+Bit}}, and \mbox{\hyperlink{signal__info_8h_source_l00032}{Signal\+Info\+::unit}}.
|
|
|
|
|
|
|
|
Referenced by \mbox{\hyperlink{main_8cpp_source_l00097}{main()}}, and \mbox{\hyperlink{main_8cpp_source_l00023}{Print\+Tree()}}.
|
|
|