\hypertarget{classInstruction}{
\section{Instruction Class Reference}
\label{classInstruction}\index{Instruction@{Instruction}}
}


Base class for an instruction.  




{\ttfamily \#include $<$instruction\_\-base.hh$>$}

Inheritance diagram for Instruction:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=11.000000cm]{classInstruction}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classInstruction_a2a7986665245aeedd7a8f9c6b0507bc7}{accept} (\hyperlink{classInstrVisitor}{InstrVisitor} \&v)=0
\begin{DoxyCompactList}\small\item\em Pass \hyperlink{protocolthe-p}{the} current instruction to \hyperlink{protocolthe-p}{the} visitor. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base class for an instruction. An instruction is an operation a policy filter may execute. Such as pushing an element on \hyperlink{protocolthe-p}{the} stack. 

\subsection{Member Function Documentation}
\hypertarget{classInstruction_a2a7986665245aeedd7a8f9c6b0507bc7}{
\index{Instruction@{Instruction}!accept@{accept}}
\index{accept@{accept}!Instruction@{Instruction}}
\subsubsection[{accept}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Instruction::accept (
\begin{DoxyParamCaption}
\item[{{\bf InstrVisitor} \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classInstruction_a2a7986665245aeedd7a8f9c6b0507bc7}


Pass \hyperlink{protocolthe-p}{the} current instruction to \hyperlink{protocolthe-p}{the} visitor. 


\begin{DoxyParams}{Parameters}
{\em v} & visitor to use on instruction. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/policy/backend/instruction\_\-base.hh\end{DoxyCompactItemize}
