\hypertarget{classIfMgrCommandIfClusteringQueue}{
\section{IfMgrCommandIfClusteringQueue Class Reference}
\label{classIfMgrCommandIfClusteringQueue}\index{IfMgrCommandIfClusteringQueue@{IfMgrCommandIfClusteringQueue}}
}


Interface \hyperlink{classCommand}{Command} Clustering Queue.  




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

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

\item 
\hypertarget{classIfMgrCommandIfClusteringQueue_a2492b20b74fcfcacf212313967d3cc3c}{
typedef list$<$ \hyperlink{classref__ptr}{Cmd} $>$ {\bfseries CmdList}}
\label{classIfMgrCommandIfClusteringQueue_a2492b20b74fcfcacf212313967d3cc3c}

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

\begin{DoxyCompactList}\small\item\em Add an item to \hyperlink{protocolthe-p}{the} queue. \item\end{DoxyCompactList}\item 
bool \hyperlink{classIfMgrCommandIfClusteringQueue_a8a38afbfc438749fbf3ab285126338cd}{empty} () const 
\item 
\hyperlink{classref__ptr}{Cmd} \& \hyperlink{classIfMgrCommandIfClusteringQueue_aad2ce8410bcec534591492d83de8930e}{front} ()
\begin{DoxyCompactList}\small\item\em Accessor for front item from queue. \item\end{DoxyCompactList}\item 
const \hyperlink{classref__ptr}{Cmd} \& \hyperlink{classIfMgrCommandIfClusteringQueue_a7149f97e49fc89f5d9b214f571f9a862}{front} () const 
\begin{DoxyCompactList}\small\item\em Accessor for front item from queue. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrCommandIfClusteringQueue_af7f3c4d4189c0ed017a5dc9110c44f60}{
void \hyperlink{classIfMgrCommandIfClusteringQueue_af7f3c4d4189c0ed017a5dc9110c44f60}{pop\_\-front} ()}
\label{classIfMgrCommandIfClusteringQueue_af7f3c4d4189c0ed017a5dc9110c44f60}

\begin{DoxyCompactList}\small\item\em Pop \hyperlink{protocolthe-p}{the} front item from queue. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrCommandIfClusteringQueue_abfeaa5a3c412a7c641db7f7a127e4b18}{
void {\bfseries change\_\-active\_\-interface} ()}
\label{classIfMgrCommandIfClusteringQueue_abfeaa5a3c412a7c641db7f7a127e4b18}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrCommandIfClusteringQueue_ac214e402c867a2a4190cf809f48dd143}{
string {\bfseries \_\-current\_\-ifname}}
\label{classIfMgrCommandIfClusteringQueue_ac214e402c867a2a4190cf809f48dd143}

\item 
\hypertarget{classIfMgrCommandIfClusteringQueue_abacb40185397d3ffffe0185e35c73175}{
CmdList {\bfseries \_\-future\_\-cmds}}
\label{classIfMgrCommandIfClusteringQueue_abacb40185397d3ffffe0185e35c73175}

\item 
\hypertarget{classIfMgrCommandIfClusteringQueue_ab35f12692684f6680c2ee9719e7e61db}{
CmdList {\bfseries \_\-current\_\-cmds}}
\label{classIfMgrCommandIfClusteringQueue_ab35f12692684f6680c2ee9719e7e61db}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface \hyperlink{classCommand}{Command} Clustering Queue. This Queue attempts to cluster commands based on their interface name. Only command objects derived from \hyperlink{classIfMgrIfCommandBase}{IfMgrIfCommandBase} may be placed in \hyperlink{protocolthe-p}{the} queue, command objects not falling in this category will give rise to assertion failures. 

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


Implements \hyperlink{classIfMgrCommandQueueBase_a3c733bb436acc2c90a127a6f6ed93d19}{IfMgrCommandQueueBase}.

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


Accessor for front item from queue. 

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


Implements \hyperlink{classIfMgrCommandQueueBase_aa27dea0a25326bc6576b7b2cbb167817}{IfMgrCommandQueueBase}.

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


Accessor for front item from queue. 

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


Implements \hyperlink{classIfMgrCommandQueueBase_ad487eda2123374c29900cc12061b5f99}{IfMgrCommandQueueBase}.



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