FSM/vscode/manual/latex/struct_f_s_m_handler.tex

31 lines
1.5 KiB
TeX
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

\doxysection{FSMHandler Struct Reference}
\hypertarget{struct_f_s_m_handler}{}\label{struct_f_s_m_handler}\index{FSMHandler@{FSMHandler}}
状态处理函数集合,全部需要子类重新填充内容
{\ttfamily \#include $<$FSM\+\_\+protected.\+h$>$}
\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item
int(\texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_f_s_m_handler_a934ff7d1a2f7714694b8a2927b5f8451}{select\+Next\+State}} )(void \texorpdfstring{$\ast$}{*}data, \mbox{\hyperlink{struct_f_s_m_signals}{FSMSignals}} \texorpdfstring{$\ast$}{*}signals)
\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
状态处理函数集合,全部需要子类重新填充内容
这个结构体暴露给protect文件方便在子类中添加函数。不然添加函数得再写个函数添加 有点麻烦
\doxysubsection{Field Documentation}
\Hypertarget{struct_f_s_m_handler_a934ff7d1a2f7714694b8a2927b5f8451}\label{struct_f_s_m_handler_a934ff7d1a2f7714694b8a2927b5f8451}
\index{FSMHandler@{FSMHandler}!selectNextState@{selectNextState}}
\index{selectNextState@{selectNextState}!FSMHandler@{FSMHandler}}
\doxysubsubsection{\texorpdfstring{selectNextState}{selectNextState}}
{\footnotesize\ttfamily int(\texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*} FSMHandler\+::select\+Next\+State) (void \texorpdfstring{$\ast$}{*}data, \mbox{\hyperlink{struct_f_s_m_signals}{FSMSignals}} \texorpdfstring{$\ast$}{*}signals)}
每个状态配置的状态选择函数