\hypertarget{classIfMgrCommandQueueBase}{
\section{IfMgrCommandQueueBase Class Reference}
\label{classIfMgrCommandQueueBase}\index{IfMgrCommandQueueBase@{IfMgrCommandQueueBase}}
}


Base class for \hyperlink{classCommand}{Command} Queue classes.  




{\ttfamily \#include $<$ifmgr\_\-cmd\_\-queue.hh$>$}

Inheritance diagram for IfMgrCommandQueueBase:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classIfMgrCommandQueueBase}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrCommandQueueBase_ac426b59369889f749e5b551d922190d7}{
typedef \hyperlink{classref__ptr}{IfMgrCommandSinkBase::Cmd} {\bfseries Cmd}}
\label{classIfMgrCommandQueueBase_ac426b59369889f749e5b551d922190d7}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrCommandQueueBase_aa90ea927513b2d6316c0dbfdf93912fd}{
virtual void \hyperlink{classIfMgrCommandQueueBase_aa90ea927513b2d6316c0dbfdf93912fd}{push} (const \hyperlink{classref__ptr}{Cmd} \&cmd)=0}
\label{classIfMgrCommandQueueBase_aa90ea927513b2d6316c0dbfdf93912fd}

\begin{DoxyCompactList}\small\item\em Add an item to \hyperlink{protocolthe-p}{the} queue. \item\end{DoxyCompactList}\item 
virtual bool \hyperlink{classIfMgrCommandQueueBase_a3c733bb436acc2c90a127a6f6ed93d19}{empty} () const =0
\item 
virtual \hyperlink{classref__ptr}{Cmd} \& \hyperlink{classIfMgrCommandQueueBase_ad487eda2123374c29900cc12061b5f99}{front} ()=0
\begin{DoxyCompactList}\small\item\em Accessor for front item from queue. \item\end{DoxyCompactList}\item 
virtual const \hyperlink{classref__ptr}{Cmd} \& \hyperlink{classIfMgrCommandQueueBase_aa27dea0a25326bc6576b7b2cbb167817}{front} () const =0
\begin{DoxyCompactList}\small\item\em Accessor for front item from queue. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrCommandQueueBase_a9e9d69306ebb1598de0afacaacd1fd47}{
virtual void \hyperlink{classIfMgrCommandQueueBase_a9e9d69306ebb1598de0afacaacd1fd47}{pop\_\-front} ()=0}
\label{classIfMgrCommandQueueBase_a9e9d69306ebb1598de0afacaacd1fd47}

\begin{DoxyCompactList}\small\item\em Pop \hyperlink{protocolthe-p}{the} front item from queue. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base class for \hyperlink{classCommand}{Command} Queue classes. 

\subsection{Member Function Documentation}
\hypertarget{classIfMgrCommandQueueBase_a3c733bb436acc2c90a127a6f6ed93d19}{
\index{IfMgrCommandQueueBase@{IfMgrCommandQueueBase}!empty@{empty}}
\index{empty@{empty}!IfMgrCommandQueueBase@{IfMgrCommandQueueBase}}
\subsubsection[{empty}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool IfMgrCommandQueueBase::empty (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfMgrCommandQueueBase_a3c733bb436acc2c90a127a6f6ed93d19}
\begin{DoxyReturn}{Returns}
true if queue has no items, false otherwise. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfMgrCommandFifoQueue_a22898d5126edd0ff5b0afdad3a1ec2cd}{IfMgrCommandFifoQueue}, and \hyperlink{classIfMgrCommandIfClusteringQueue_a8a38afbfc438749fbf3ab285126338cd}{IfMgrCommandIfClusteringQueue}.

\hypertarget{classIfMgrCommandQueueBase_aa27dea0a25326bc6576b7b2cbb167817}{
\index{IfMgrCommandQueueBase@{IfMgrCommandQueueBase}!front@{front}}
\index{front@{front}!IfMgrCommandQueueBase@{IfMgrCommandQueueBase}}
\subsubsection[{front}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf Cmd}\& IfMgrCommandQueueBase::front (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfMgrCommandQueueBase_aa27dea0a25326bc6576b7b2cbb167817}


Accessor for front item from queue. 

\begin{DoxyReturn}{Returns}
reference to front item if queue is not empty, junk otherwise. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfMgrCommandFifoQueue_a58b3bbf7ff8074a6ca8771876ac053e5}{IfMgrCommandFifoQueue}, and \hyperlink{classIfMgrCommandIfClusteringQueue_a7149f97e49fc89f5d9b214f571f9a862}{IfMgrCommandIfClusteringQueue}.

\hypertarget{classIfMgrCommandQueueBase_ad487eda2123374c29900cc12061b5f99}{
\index{IfMgrCommandQueueBase@{IfMgrCommandQueueBase}!front@{front}}
\index{front@{front}!IfMgrCommandQueueBase@{IfMgrCommandQueueBase}}
\subsubsection[{front}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Cmd}\& IfMgrCommandQueueBase::front (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classIfMgrCommandQueueBase_ad487eda2123374c29900cc12061b5f99}


Accessor for front item from queue. 

\begin{DoxyReturn}{Returns}
reference to front item if queue is not empty, junk otherwise. 
\end{DoxyReturn}


Implemented in \hyperlink{classIfMgrCommandFifoQueue_a5ee8e1d2ec7b695717f9bec532b3d1bf}{IfMgrCommandFifoQueue}, and \hyperlink{classIfMgrCommandIfClusteringQueue_aad2ce8410bcec534591492d83de8930e}{IfMgrCommandIfClusteringQueue}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/libfeaclient/ifmgr\_\-cmd\_\-queue.hh\end{DoxyCompactItemize}
