\hypertarget{classXrlTestTarget}{
\section{XrlTestTarget Class Reference}
\label{classXrlTestTarget}\index{XrlTestTarget@{XrlTestTarget}}
}
Inheritance diagram for XrlTestTarget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classXrlTestTarget}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlTestTarget_a0985ee1fa9835d153de2eacd3fb915d6}{
{\bfseries XrlTestTarget} (\hyperlink{classXrlRouter}{XrlRouter} $\ast$r)}
\label{classXrlTestTarget_a0985ee1fa9835d153de2eacd3fb915d6}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_acf0933bcfb7f90a160331f66721e5866}{common\_\-0\_\-1\_\-get\_\-target\_\-name} (string \&name)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_aea7c4acc3a77a2313455e2c2788d307a}{common\_\-0\_\-1\_\-get\_\-version} (string \&version)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_abbf6555244838d40a5ee3f5ade228f4c}{common\_\-0\_\-1\_\-get\_\-status} (uint32\_\-t \&status, string \&reason)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_a7961f7112c626fde1add13a4c5a4c252}{common\_\-0\_\-1\_\-shutdown} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_ab16a7eabf9e9057165dca47c70579221}{test\_\-1\_\-0\_\-print\_\-hello\_\-world} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_a4bfa4e17e639f5e05ec4366892f3024a}{test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message} (const string \&msg)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_a1191474ff99c4474727b95e29a8fefe2}{test\_\-1\_\-0\_\-get\_\-greeting\_\-count} (int32\_\-t \&num\_\-msgs)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_a381be824c86d8ed8be8adb37fc89ed5a}{test\_\-1\_\-0\_\-get\_\-greeting} (const int32\_\-t \&greeting\_\-no, string \&greeting)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
virtual \hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlTestTarget_a513e7d452af936e865c00bcf81c611ae}{test\_\-1\_\-0\_\-shoot\_\-foot} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
static const string {\bfseries greetings} \mbox{[}$\,$\mbox{]}
\item 
static const int32\_\-t {\bfseries n\_\-greetings}
\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classXrlTestTarget_abbf6555244838d40a5ee3f5ade228f4c}{
\index{XrlTestTarget@{XrlTestTarget}!common\_\-0\_\-1\_\-get\_\-status@{common\_\-0\_\-1\_\-get\_\-status}}
\index{common\_\-0\_\-1\_\-get\_\-status@{common\_\-0\_\-1\_\-get\_\-status}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{common\_\-0\_\-1\_\-get\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::common\_\-0\_\-1\_\-get\_\-status (
\begin{DoxyParamCaption}
\item[{uint32\_\-t \&}]{status, }
\item[{string \&}]{reason}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_abbf6555244838d40a5ee3f5ade228f4c}


Pure-\/virtual function that needs to be implemented to: 

Get status of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlTestTargetBase_a4f327c96437185613d81c4028bc79d0d}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_acf0933bcfb7f90a160331f66721e5866}{
\index{XrlTestTarget@{XrlTestTarget}!common\_\-0\_\-1\_\-get\_\-target\_\-name@{common\_\-0\_\-1\_\-get\_\-target\_\-name}}
\index{common\_\-0\_\-1\_\-get\_\-target\_\-name@{common\_\-0\_\-1\_\-get\_\-target\_\-name}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{common\_\-0\_\-1\_\-get\_\-target\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::common\_\-0\_\-1\_\-get\_\-target\_\-name (
\begin{DoxyParamCaption}
\item[{string \&}]{name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_acf0933bcfb7f90a160331f66721e5866}


Pure-\/virtual function that needs to be implemented to: 

Get name of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlTestTargetBase_a70e19363daa117e6965e85fdb7f4480c}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_aea7c4acc3a77a2313455e2c2788d307a}{
\index{XrlTestTarget@{XrlTestTarget}!common\_\-0\_\-1\_\-get\_\-version@{common\_\-0\_\-1\_\-get\_\-version}}
\index{common\_\-0\_\-1\_\-get\_\-version@{common\_\-0\_\-1\_\-get\_\-version}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{common\_\-0\_\-1\_\-get\_\-version}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::common\_\-0\_\-1\_\-get\_\-version (
\begin{DoxyParamCaption}
\item[{string \&}]{version}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_aea7c4acc3a77a2313455e2c2788d307a}


Pure-\/virtual function that needs to be implemented to: 

Get version string from \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlTestTargetBase_a330779d7402f4b611d5709fcf61f75fe}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_a7961f7112c626fde1add13a4c5a4c252}{
\index{XrlTestTarget@{XrlTestTarget}!common\_\-0\_\-1\_\-shutdown@{common\_\-0\_\-1\_\-shutdown}}
\index{common\_\-0\_\-1\_\-shutdown@{common\_\-0\_\-1\_\-shutdown}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{common\_\-0\_\-1\_\-shutdown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::common\_\-0\_\-1\_\-shutdown (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_a7961f7112c626fde1add13a4c5a4c252}


Pure-\/virtual function that needs to be implemented to: 

Request clean shutdown of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlTestTargetBase_a47e6fc337f50b863700a373858dc0683}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_a381be824c86d8ed8be8adb37fc89ed5a}{
\index{XrlTestTarget@{XrlTestTarget}!test\_\-1\_\-0\_\-get\_\-greeting@{test\_\-1\_\-0\_\-get\_\-greeting}}
\index{test\_\-1\_\-0\_\-get\_\-greeting@{test\_\-1\_\-0\_\-get\_\-greeting}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{test\_\-1\_\-0\_\-get\_\-greeting}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::test\_\-1\_\-0\_\-get\_\-greeting (
\begin{DoxyParamCaption}
\item[{const int32\_\-t \&}]{greeting\_\-num, }
\item[{string \&}]{greeting}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_a381be824c86d8ed8be8adb37fc89ed5a}


Pure-\/virtual function that needs to be implemented to: 

Get greeting.


\begin{DoxyParams}{Parameters}
{\em greeting\_\-num} & index of greeting.\\
\hline
{\em greeting} & text of greeting. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlTestTargetBase_a55f7a8d4020db8d7f9b154fecc8b5a1b}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_a1191474ff99c4474727b95e29a8fefe2}{
\index{XrlTestTarget@{XrlTestTarget}!test\_\-1\_\-0\_\-get\_\-greeting\_\-count@{test\_\-1\_\-0\_\-get\_\-greeting\_\-count}}
\index{test\_\-1\_\-0\_\-get\_\-greeting\_\-count@{test\_\-1\_\-0\_\-get\_\-greeting\_\-count}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{test\_\-1\_\-0\_\-get\_\-greeting\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::test\_\-1\_\-0\_\-get\_\-greeting\_\-count (
\begin{DoxyParamCaption}
\item[{int32\_\-t \&}]{num\_\-msgs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_a1191474ff99c4474727b95e29a8fefe2}


Pure-\/virtual function that needs to be implemented to: 

Count number of greetings available. 

Implements \hyperlink{structXrlTestTargetBase_aec6e194590e1726861773ff18d019dea}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_ab16a7eabf9e9057165dca47c70579221}{
\index{XrlTestTarget@{XrlTestTarget}!test\_\-1\_\-0\_\-print\_\-hello\_\-world@{test\_\-1\_\-0\_\-print\_\-hello\_\-world}}
\index{test\_\-1\_\-0\_\-print\_\-hello\_\-world@{test\_\-1\_\-0\_\-print\_\-hello\_\-world}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{test\_\-1\_\-0\_\-print\_\-hello\_\-world}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::test\_\-1\_\-0\_\-print\_\-hello\_\-world (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_ab16a7eabf9e9057165dca47c70579221}


Pure-\/virtual function that needs to be implemented to: 

Print \char`\"{}hello world\char`\"{}. 

Implements \hyperlink{structXrlTestTargetBase_a8b1f73124e0170c59bb2c6d66f2ef130}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_a4bfa4e17e639f5e05ec4366892f3024a}{
\index{XrlTestTarget@{XrlTestTarget}!test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message@{test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message}}
\index{test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message@{test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::test\_\-1\_\-0\_\-print\_\-hello\_\-world\_\-and\_\-message (
\begin{DoxyParamCaption}
\item[{const string \&}]{msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_a4bfa4e17e639f5e05ec4366892f3024a}


Pure-\/virtual function that needs to be implemented to: 

Print \char`\"{}hello world\char`\"{} and a user supplied greeting.


\begin{DoxyParams}{Parameters}
{\em msg} & greeting to be printed. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlTestTargetBase_ab04f849efec3c4184dff570ee90d49ef}{XrlTestTargetBase}.

\hypertarget{classXrlTestTarget_a513e7d452af936e865c00bcf81c611ae}{
\index{XrlTestTarget@{XrlTestTarget}!test\_\-1\_\-0\_\-shoot\_\-foot@{test\_\-1\_\-0\_\-shoot\_\-foot}}
\index{test\_\-1\_\-0\_\-shoot\_\-foot@{test\_\-1\_\-0\_\-shoot\_\-foot}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{test\_\-1\_\-0\_\-shoot\_\-foot}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlTestTarget::test\_\-1\_\-0\_\-shoot\_\-foot (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classXrlTestTarget_a513e7d452af936e865c00bcf81c611ae}


Pure-\/virtual function that needs to be implemented to: 

Something that always fails. 

Implements \hyperlink{structXrlTestTargetBase_af3942299f350162f9c8b93bab56b8724}{XrlTestTargetBase}.



\subsection{Member Data Documentation}
\hypertarget{classXrlTestTarget_a6f705fdf16b85811253951cb707643b8}{
\index{XrlTestTarget@{XrlTestTarget}!greetings@{greetings}}
\index{greetings@{greetings}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{greetings}]{\setlength{\rightskip}{0pt plus 5cm}const string XrlTestTarget::greetings\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classXrlTestTarget_a6f705fdf16b85811253951cb707643b8}
{\bfseries Initial value:}
\begin{DoxyCode}
 {
    "Hi", "Howdy Partner", "You again"
}
\end{DoxyCode}
\hypertarget{classXrlTestTarget_a346f3a10989ad7f400673167dbf37912}{
\index{XrlTestTarget@{XrlTestTarget}!n\_\-greetings@{n\_\-greetings}}
\index{n\_\-greetings@{n\_\-greetings}!XrlTestTarget@{XrlTestTarget}}
\subsubsection[{n\_\-greetings}]{\setlength{\rightskip}{0pt plus 5cm}const int32\_\-t XrlTestTarget::n\_\-greetings\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classXrlTestTarget_a346f3a10989ad7f400673167dbf37912}
{\bfseries Initial value:}
\begin{DoxyCode}
 sizeof(XrlTestTarget::greetings) / 
sizeof(XrlTestTarget::greetings[0])
\end{DoxyCode}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/xrl/tests/test\_\-tgt.hh\item 
/home/greearb/git/xorp.ct.github/xorp/xrl/tests/test\_\-tgt.cc\end{DoxyCompactItemize}
