2022-11-11 03:31:59 +08:00
|
|
|
\hypertarget{class_s_t_l__l_queue}{}\doxysection{STL\+\_\+l\+Queue类 参考}
|
|
|
|
|
\label{class_s_t_l__l_queue}\index{STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
一个队列的类
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$STL\+\_\+\+Queue.\+h$>$}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
STL\+\_\+l\+Queue 的协作图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=185pt]{class_s_t_l__l_queue__coll__graph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\doxysubsection*{Public 成员函数}
|
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
|
\item
|
|
|
|
|
\mbox{\hyperlink{class_s_t_l__l_queue_a144e383b154698f69348bb8f901bdb81}{STL\+\_\+l\+Queue}} (void)
|
|
|
|
|
\item
|
|
|
|
|
\mbox{\hyperlink{class_s_t_l__l_queue_a9c77d831feed1543e4fdefc811580a51}{$\sim$\+STL\+\_\+l\+Queue}} (void)
|
|
|
|
|
\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_ab551099da5beb93d91db4472ffd4d5c3}{push}} (void $\ast$\&var, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} size)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 压入一个成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_a9c9a5811f43677f8d70d19377e276510}{pop}} (void)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 弹出一个成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_a1abec6afbc25d3cc7b3e3cc94c265f9c}{top}} (void $\ast$\&var, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&size)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 显示队列顶部成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_af2ee00997d848e132c3140e347b7220c}{push8}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 压入一个8位成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_a7ff92acc4b520646801c93816faf2f07}{top8}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&var)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 显示队列顶成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_a4c67b2f6364aa9105e8754c51bb2ad6a}{poptop8}} (void)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 显示并且弹出一个队列顶成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_a1231a845c0a916e43c74a18c8b7c1920}{push32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} var)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 压入一个32位成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_ade1f8e34538de4ae43f7ad2ca46ab493}{top32}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&var)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 显示队列顶成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_queue_a4bf8d4647c741289056d30184e97531b}{poptop32}} (void)
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 显示并且弹出一个队列顶成员 \end{DoxyCompactList}\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{class_s_t_l__l_queue_ad702c50174ed400838db74915c0eefda}{pushfun}} (void($\ast$fun)(void))
|
|
|
|
|
\begin{DoxyCompactList}\small\item\em 压入一个void($\ast$)(void)函数指针 \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
\doxysubsection*{Public 属性}
|
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
|
\item
|
|
|
|
|
void($\ast$)(void) \mbox{\hyperlink{class_s_t_l__l_queue_a32f62d0933c052bcebeb318c1230f3f7}{poptopfun}} (void)
|
|
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
\doxysubsection*{Private 属性}
|
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
|
\item
|
|
|
|
|
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{class_s_t_l__l_queue_aa30f82a9e8ccf14839fb0d4bc0060428}{mem}}
|
|
|
|
|
\item
|
|
|
|
|
\mbox{\hyperlink{struct__l_queue}{\+\_\+l\+Queue}} $\ast$ \mbox{\hyperlink{class_s_t_l__l_queue_aff375614989295d36b7b30467946332f}{Hdat}}
|
|
|
|
|
\item
|
|
|
|
|
\mbox{\hyperlink{struct__l_queue}{\+\_\+l\+Queue}} $\ast$ \mbox{\hyperlink{class_s_t_l__l_queue_a5019da13d4ba25f2bf7668770be14cfd}{Tdat}}
|
|
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{详细描述}
|
|
|
|
|
一个队列的类
|
|
|
|
|
|
|
|
|
|
\begin{DoxyNote}{注解}
|
|
|
|
|
使用链表重新分配方式组织 队列的内存空间是非连续的,适合快速交换数据
|
|
|
|
|
\end{DoxyNote}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00098}{98}} 行定义.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{构造及析构函数说明}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a144e383b154698f69348bb8f901bdb81}\label{class_s_t_l__l_queue_a144e383b154698f69348bb8f901bdb81}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{STL\_lQueue()}{STL\_lQueue()}}
|
|
|
|
|
{\footnotesize\ttfamily STL\+\_\+l\+Queue\+::\+STL\+\_\+l\+Queue (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00199}{199}} 行定义.
|
|
|
|
|
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a9c77d831feed1543e4fdefc811580a51}\label{class_s_t_l__l_queue_a9c77d831feed1543e4fdefc811580a51}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!````~STL\_lQueue@{$\sim$STL\_lQueue}}
|
|
|
|
|
\index{````~STL\_lQueue@{$\sim$STL\_lQueue}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{$\sim$STL\_lQueue()}{~STL\_lQueue()}}
|
|
|
|
|
{\footnotesize\ttfamily STL\+\_\+l\+Queue\+::$\sim$\+STL\+\_\+l\+Queue (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00204}{204}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=343pt]{class_s_t_l__l_queue_a9c77d831feed1543e4fdefc811580a51_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{成员函数说明}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a9c9a5811f43677f8d70d19377e276510}\label{class_s_t_l__l_queue_a9c9a5811f43677f8d70d19377e276510}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!pop@{pop}}
|
|
|
|
|
\index{pop@{pop}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{pop()}{pop()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::pop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
弹出一个成员
|
|
|
|
|
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
\begin{DoxyNote}{注解}
|
|
|
|
|
无论push进去的是32位还是8位数,都用这个弹出
|
|
|
|
|
\end{DoxyNote}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00235}{235}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=343pt]{class_s_t_l__l_queue_a9c9a5811f43677f8d70d19377e276510_icgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a4bf8d4647c741289056d30184e97531b}\label{class_s_t_l__l_queue_a4bf8d4647c741289056d30184e97531b}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!poptop32@{poptop32}}
|
|
|
|
|
\index{poptop32@{poptop32}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{poptop32()}{poptop32()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+l\+Queue\+::poptop32 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
显示并且弹出一个队列顶成员
|
|
|
|
|
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
返回弹出的数值
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00326}{326}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=350pt]{class_s_t_l__l_queue_a4bf8d4647c741289056d30184e97531b_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a4c67b2f6364aa9105e8754c51bb2ad6a}\label{class_s_t_l__l_queue_a4c67b2f6364aa9105e8754c51bb2ad6a}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!poptop8@{poptop8}}
|
|
|
|
|
\index{poptop8@{poptop8}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{poptop8()}{poptop8()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::poptop8 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
显示并且弹出一个队列顶成员
|
|
|
|
|
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
返回弹出的数值
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00290}{290}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=350pt]{class_s_t_l__l_queue_a4c67b2f6364aa9105e8754c51bb2ad6a_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_ab551099da5beb93d91db4472ffd4d5c3}\label{class_s_t_l__l_queue_ab551099da5beb93d91db4472ffd4d5c3}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!push@{push}}
|
|
|
|
|
\index{push@{push}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{push()}{push()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::push (\begin{DoxyParamCaption}\item[{void $\ast$\&}]{var, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{size }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
压入一个成员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em $\ast$\&var} & 需要压入的数值的地址 \\
|
|
|
|
|
\hline
|
|
|
|
|
{\em size} & 需要压入的数值的长度 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00215}{215}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=350pt]{class_s_t_l__l_queue_ab551099da5beb93d91db4472ffd4d5c3_icgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a1231a845c0a916e43c74a18c8b7c1920}\label{class_s_t_l__l_queue_a1231a845c0a916e43c74a18c8b7c1920}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!push32@{push32}}
|
|
|
|
|
\index{push32@{push32}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{push32()}{push32()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::push32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
压入一个32位成员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em var} & 需要压入的32位数据 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00302}{302}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=320pt]{class_s_t_l__l_queue_a1231a845c0a916e43c74a18c8b7c1920_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
2022-11-22 03:43:24 +08:00
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=333pt]{class_s_t_l__l_queue_a1231a845c0a916e43c74a18c8b7c1920_icgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_af2ee00997d848e132c3140e347b7220c}\label{class_s_t_l__l_queue_af2ee00997d848e132c3140e347b7220c}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!push8@{push8}}
|
|
|
|
|
\index{push8@{push8}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{push8()}{push8()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::push8 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
压入一个8位成员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em var} & 需要压入的8位数据 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00266}{266}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=315pt]{class_s_t_l__l_queue_af2ee00997d848e132c3140e347b7220c_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_ad702c50174ed400838db74915c0eefda}\label{class_s_t_l__l_queue_ad702c50174ed400838db74915c0eefda}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!pushfun@{pushfun}}
|
|
|
|
|
\index{pushfun@{pushfun}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{pushfun()}{pushfun()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::pushfun (\begin{DoxyParamCaption}\item[{void($\ast$)(void)}]{fun }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
压入一个void($\ast$)(void)函数指针
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em $\ast$fun} & 需要压入的函数 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
\begin{DoxyNote}{注解}
|
|
|
|
|
如果有个函数是 void fun(void); 可以通过pushfun(fun);将其压入
|
|
|
|
|
\end{DoxyNote}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00341}{341}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=350pt]{class_s_t_l__l_queue_ad702c50174ed400838db74915c0eefda_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a1abec6afbc25d3cc7b3e3cc94c265f9c}\label{class_s_t_l__l_queue_a1abec6afbc25d3cc7b3e3cc94c265f9c}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!top@{top}}
|
|
|
|
|
\index{top@{top}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{top()}{top()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::top (\begin{DoxyParamCaption}\item[{void $\ast$\&}]{var, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&}]{size }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
显示队列顶部成员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em $\ast$\&var} & 需要赋予的数值的地址 \\
|
|
|
|
|
\hline
|
|
|
|
|
{\em \&size} & 需要赋予的数值的长度 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00254}{254}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=350pt]{class_s_t_l__l_queue_a1abec6afbc25d3cc7b3e3cc94c265f9c_icgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_ade1f8e34538de4ae43f7ad2ca46ab493}\label{class_s_t_l__l_queue_ade1f8e34538de4ae43f7ad2ca46ab493}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!top32@{top32}}
|
|
|
|
|
\index{top32@{top32}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{top32()}{top32()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::top32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \&}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
显示队列顶成员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em \&var} & 结果赋予给该变量 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00314}{314}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=305pt]{class_s_t_l__l_queue_ade1f8e34538de4ae43f7ad2ca46ab493_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
2022-11-22 03:43:24 +08:00
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=332pt]{class_s_t_l__l_queue_ade1f8e34538de4ae43f7ad2ca46ab493_icgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a7ff92acc4b520646801c93816faf2f07}\label{class_s_t_l__l_queue_a7ff92acc4b520646801c93816faf2f07}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!top8@{top8}}
|
|
|
|
|
\index{top8@{top8}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{top8()}{top8()}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} STL\+\_\+l\+Queue\+::top8 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \&}]{var }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
显示队列顶成员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
|
|
|
{\em \&var} & 结果赋予给该变量 \\
|
|
|
|
|
\hline
|
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
|
|
|
错误号
|
|
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8cpp_source}{STL\+\_\+\+Queue.\+cpp}} 第 \mbox{\hyperlink{_s_t_l___queue_8cpp_source_l00278}{278}} 行定义.
|
|
|
|
|
|
2022-11-22 03:43:24 +08:00
|
|
|
函数调用图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=300pt]{class_s_t_l__l_queue_a7ff92acc4b520646801c93816faf2f07_cgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
2022-11-22 03:43:24 +08:00
|
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
2022-11-11 03:31:59 +08:00
|
|
|
\begin{figure}[H]
|
|
|
|
|
\begin{center}
|
|
|
|
|
\leavevmode
|
|
|
|
|
\includegraphics[width=321pt]{class_s_t_l__l_queue_a7ff92acc4b520646801c93816faf2f07_icgraph}
|
|
|
|
|
\end{center}
|
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{类成员变量说明}
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_aff375614989295d36b7b30467946332f}\label{class_s_t_l__l_queue_aff375614989295d36b7b30467946332f}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!Hdat@{Hdat}}
|
|
|
|
|
\index{Hdat@{Hdat}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{Hdat}{Hdat}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{struct__l_queue}{\+\_\+l\+Queue}}$\ast$ STL\+\_\+l\+Queue\+::\+Hdat\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00119}{119}} 行定义.
|
|
|
|
|
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_aa30f82a9e8ccf14839fb0d4bc0060428}\label{class_s_t_l__l_queue_aa30f82a9e8ccf14839fb0d4bc0060428}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!mem@{mem}}
|
|
|
|
|
\index{mem@{mem}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{mem}{mem}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} STL\+\_\+l\+Queue\+::mem\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00118}{118}} 行定义.
|
|
|
|
|
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a32f62d0933c052bcebeb318c1230f3f7}\label{class_s_t_l__l_queue_a32f62d0933c052bcebeb318c1230f3f7}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!poptopfun@{poptopfun}}
|
|
|
|
|
\index{poptopfun@{poptopfun}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{poptopfun}{poptopfun}}
|
|
|
|
|
{\footnotesize\ttfamily void($\ast$)(void) STL\+\_\+l\+Queue\+::poptopfun(void)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00116}{116}} 行定义.
|
|
|
|
|
|
|
|
|
|
\mbox{\Hypertarget{class_s_t_l__l_queue_a5019da13d4ba25f2bf7668770be14cfd}\label{class_s_t_l__l_queue_a5019da13d4ba25f2bf7668770be14cfd}}
|
|
|
|
|
\index{STL\_lQueue@{STL\_lQueue}!Tdat@{Tdat}}
|
|
|
|
|
\index{Tdat@{Tdat}!STL\_lQueue@{STL\_lQueue}}
|
|
|
|
|
\doxysubsubsection{\texorpdfstring{Tdat}{Tdat}}
|
|
|
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{struct__l_queue}{\+\_\+l\+Queue}}$\ast$ STL\+\_\+l\+Queue\+::\+Tdat\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00120}{120}} 行定义.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
|
|
|
|
|
\item
|
|
|
|
|
D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\mbox{\hyperlink{_s_t_l___queue_8h}{STL\+\_\+\+Queue.\+h}}\item
|
|
|
|
|
D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\mbox{\hyperlink{_s_t_l___queue_8cpp}{STL\+\_\+\+Queue.\+cpp}}\end{DoxyCompactItemize}
|