\hypertarget{classIfMgrCommandDispatcher}{
\section{IfMgrCommandDispatcher Class Reference}
\label{classIfMgrCommandDispatcher}\index{IfMgrCommandDispatcher@{IfMgrCommandDispatcher}}
}


Class to dispatch Interface Manager Commands.  




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

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

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classIfMgrCommandDispatcher_aadb83202a2bc9a2739ef36d9db5753cb}{IfMgrCommandDispatcher} (\hyperlink{classIfMgrIfTree}{IfMgrIfTree} \&tree)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrCommandDispatcher_a51efe5828a90b77f680f9b61a4d473d3}{
void \hyperlink{classIfMgrCommandDispatcher_a51efe5828a90b77f680f9b61a4d473d3}{push} (const \hyperlink{classref__ptr}{Cmd} \&cmd)}
\label{classIfMgrCommandDispatcher_a51efe5828a90b77f680f9b61a4d473d3}

\begin{DoxyCompactList}\small\item\em \hyperlink{classPush}{Push} a command into local storage ready for execution. \item\end{DoxyCompactList}\item 
virtual bool \hyperlink{classIfMgrCommandDispatcher_a4b8b66f92fb479169879ad9c09a65b2a}{execute} ()
\begin{DoxyCompactList}\small\item\em Execute command. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrCommandDispatcher_a4a8d86e7cce367a12b4f101719f24f15}{
\hyperlink{classref__ptr}{Cmd} {\bfseries \_\-cmd}}
\label{classIfMgrCommandDispatcher_a4a8d86e7cce367a12b4f101719f24f15}

\item 
\hypertarget{classIfMgrCommandDispatcher_ac5f8d1061e890fe2bd7568d31b6c933f}{
\hyperlink{classIfMgrIfTree}{IfMgrIfTree} \& {\bfseries \_\-iftree}}
\label{classIfMgrCommandDispatcher_ac5f8d1061e890fe2bd7568d31b6c933f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class to dispatch Interface Manager Commands. This class buffers exactly one Interface Manager \hyperlink{classCommand}{Command} (\hyperlink{classIfMgrCommandBase}{IfMgrCommandBase}) and applies it to an Interface Manager \hyperlink{classConfiguration}{Configuration} Tree (\hyperlink{classIfMgrIfTree}{IfMgrIfTree}) when it's \hyperlink{classIfMgrCommandDispatcher_a4b8b66f92fb479169879ad9c09a65b2a}{execute()} method is called. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classIfMgrCommandDispatcher_aadb83202a2bc9a2739ef36d9db5753cb}{
\index{IfMgrCommandDispatcher@{IfMgrCommandDispatcher}!IfMgrCommandDispatcher@{IfMgrCommandDispatcher}}
\index{IfMgrCommandDispatcher@{IfMgrCommandDispatcher}!IfMgrCommandDispatcher@{IfMgrCommandDispatcher}}
\subsubsection[{IfMgrCommandDispatcher}]{\setlength{\rightskip}{0pt plus 5cm}IfMgrCommandDispatcher::IfMgrCommandDispatcher (
\begin{DoxyParamCaption}
\item[{{\bf IfMgrIfTree} \&}]{tree}
\end{DoxyParamCaption}
)}}
\label{classIfMgrCommandDispatcher_aadb83202a2bc9a2739ef36d9db5753cb}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em tree} & configuration tree to apply commands to. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classIfMgrCommandDispatcher_a4b8b66f92fb479169879ad9c09a65b2a}{
\index{IfMgrCommandDispatcher@{IfMgrCommandDispatcher}!execute@{execute}}
\index{execute@{execute}!IfMgrCommandDispatcher@{IfMgrCommandDispatcher}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrCommandDispatcher::execute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrCommandDispatcher_a4b8b66f92fb479169879ad9c09a65b2a}


Execute command. 

\begin{DoxyReturn}{Returns}
command return status (true indicates success, false failure). 
\end{DoxyReturn}


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}
