104 lines
5.5 KiB
TeX
104 lines
5.5 KiB
TeX
\hypertarget{_s_t_l___queue_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/\+STL\+\_\+\+Device/\+STL\+\_\+\+Queue.h 文件参考}
|
|
\label{_s_t_l___queue_8h}\index{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.h@{D:/gitt/MicrochipFor32/STL\_Device/STL\_Queue.h}}
|
|
|
|
|
|
实现了\+STL库中的\+Queue
|
|
|
|
|
|
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
|
STL\+\_\+\+Queue.\+h 的引用(Include)关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=213pt]{_s_t_l___queue_8h__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=223pt]{_s_t_l___queue_8h__dep__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{类}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
class \mbox{\hyperlink{class_s_t_l__r_queue}{STL\+\_\+r\+Queue}}
|
|
\begin{DoxyCompactList}\small\item\em 一个队列的类 \end{DoxyCompactList}\item
|
|
struct \mbox{\hyperlink{struct__l_queue}{\+\_\+l\+Queue}}
|
|
\begin{DoxyCompactList}\small\item\em 链表方式队列的节点 \end{DoxyCompactList}\item
|
|
class \mbox{\hyperlink{class_s_t_l__l_queue}{STL\+\_\+l\+Queue}}
|
|
\begin{DoxyCompactList}\small\item\em 一个队列的类 \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{类型定义}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
typedef struct \mbox{\hyperlink{_s_t_l___queue_8h_aada22826b142eb6c31504dc1b12452d6}{\+\_\+l\+Queues}} \mbox{\hyperlink{_s_t_l___queue_8h_aada22826b142eb6c31504dc1b12452d6}{\+\_\+l\+Queues}}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{枚举}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
enum \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}{QUEUES\+\_\+\+RES}} \{ \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}{QUEUES\+\_\+\+OK}}
|
|
, \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}{QUEUES\+\_\+\+EMPTY}}
|
|
, \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}{QUEUES\+\_\+\+REAL\+\_\+\+ERROR}}
|
|
, \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}{QUEUES\+\_\+\+MALL\+\_\+\+ERROR}}
|
|
\}
|
|
\begin{DoxyCompactList}\small\item\em 队列的返回值 \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{详细描述}
|
|
实现了\+STL库中的\+Queue
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 中定义.
|
|
|
|
|
|
|
|
\doxysubsection{类型定义说明}
|
|
\mbox{\Hypertarget{_s_t_l___queue_8h_aada22826b142eb6c31504dc1b12452d6}\label{_s_t_l___queue_8h_aada22826b142eb6c31504dc1b12452d6}}
|
|
\index{STL\_Queue.h@{STL\_Queue.h}!\_lQueues@{\_lQueues}}
|
|
\index{\_lQueues@{\_lQueues}!STL\_Queue.h@{STL\_Queue.h}}
|
|
\doxysubsubsection{\texorpdfstring{\_lQueues}{\_lQueues}}
|
|
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{_s_t_l___queue_8h_aada22826b142eb6c31504dc1b12452d6}{\+\_\+l\+Queues}} \mbox{\hyperlink{_s_t_l___queue_8h_aada22826b142eb6c31504dc1b12452d6}{\+\_\+l\+Queues}}}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00092}{92}} 行定义.
|
|
|
|
|
|
|
|
\doxysubsection{枚举类型说明}
|
|
\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}}
|
|
\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_RES@{QUEUES\_RES}}
|
|
\index{QUEUES\_RES@{QUEUES\_RES}!STL\_Queue.h@{STL\_Queue.h}}
|
|
\doxysubsubsection{\texorpdfstring{QUEUES\_RES}{QUEUES\_RES}}
|
|
{\footnotesize\ttfamily enum \mbox{\hyperlink{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5}{QUEUES\+\_\+\+RES}}}
|
|
|
|
|
|
|
|
队列的返回值
|
|
|
|
\begin{DoxyEnumFields}{枚举值}
|
|
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_OK@{QUEUES\_OK}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_OK@{QUEUES\_OK}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a277fc31bdbe46a70ffc98da7a7468162}}
|
|
QUEUES\+\_\+\+OK&成功 \\
|
|
\hline
|
|
|
|
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_EMPTY@{QUEUES\_EMPTY}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_EMPTY@{QUEUES\_EMPTY}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5ad39f1a970bf2ee35cee3b69168e7d4d1}}
|
|
QUEUES\+\_\+\+EMPTY&队列是空的 \\
|
|
\hline
|
|
|
|
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_REAL\_ERROR@{QUEUES\_REAL\_ERROR}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_REAL\_ERROR@{QUEUES\_REAL\_ERROR}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a3df7082063e14f0ae068a2feb3e4a03d}}
|
|
QUEUES\+\_\+\+REAL\+\_\+\+ERROR&重分配出错realloc \\
|
|
\hline
|
|
|
|
\raisebox{\heightof{T}}[0pt][0pt]{\index{QUEUES\_MALL\_ERROR@{QUEUES\_MALL\_ERROR}!STL\_Queue.h@{STL\_Queue.h}}\index{STL\_Queue.h@{STL\_Queue.h}!QUEUES\_MALL\_ERROR@{QUEUES\_MALL\_ERROR}}}\mbox{\Hypertarget{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}\label{_s_t_l___queue_8h_aa246d039fae29502aba4ffde61bebaa5a0ecfdce5da7daaea657afe0c2060d8e6}}
|
|
QUEUES\+\_\+\+MALL\+\_\+\+ERROR&重分配出错malloc \\
|
|
\hline
|
|
|
|
\end{DoxyEnumFields}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{_s_t_l___queue_8h_source}{STL\+\_\+\+Queue.\+h}} 第 \mbox{\hyperlink{_s_t_l___queue_8h_source_l00045}{45}} 行定义.
|
|
|