\hypertarget{classRibNotifierBase}{
\section{RibNotifierBase$<$ A $>$ Class Template Reference}
\label{classRibNotifierBase}\index{RibNotifierBase@{RibNotifierBase}}
}


Base class for \hyperlink{classRIB}{RIB} notificatiers.  




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

Inheritance diagram for RibNotifierBase$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRibNotifierBase}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRibNotifierBase_a1206b7f53f74e74e00717c1b933d82c5}{
{\bfseries RibNotifierBase} (\hyperlink{classEventLoop}{EventLoop} \&eventloop, \hyperlink{classUpdateQueue}{UpdateQueue}$<$ A $>$ \&update\_\-queue, uint32\_\-t poll\_\-ms=DEFAULT\_\-POLL\_\-MS)}
\label{classRibNotifierBase_a1206b7f53f74e74e00717c1b933d82c5}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRibNotifierBase_ac4cc416bd529ee2170629d50009c942f}{
static const uint32\_\-t {\bfseries DEFAULT\_\-POLL\_\-MS} = 1000}
\label{classRibNotifierBase_ac4cc416bd529ee2170629d50009c942f}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRibNotifierBase_a8dd18c278e81cf6d47b530cb73fd3d20}{
virtual void {\bfseries updates\_\-available} ()=0}
\label{classRibNotifierBase_a8dd18c278e81cf6d47b530cb73fd3d20}

\item 
\hypertarget{classRibNotifierBase_a2e1f74e337749fe7f1e225d4641fdbfa}{
void {\bfseries start\_\-polling} ()}
\label{classRibNotifierBase_a2e1f74e337749fe7f1e225d4641fdbfa}

\item 
\hypertarget{classRibNotifierBase_aef6c1e4a4bb883078413ab6e458990a3}{
void {\bfseries stop\_\-polling} ()}
\label{classRibNotifierBase_aef6c1e4a4bb883078413ab6e458990a3}

\item 
\hypertarget{classRibNotifierBase_a0763cddf650d6f4b136c8c5cde48f3e5}{
bool {\bfseries poll\_\-updates} ()}
\label{classRibNotifierBase_a0763cddf650d6f4b136c8c5cde48f3e5}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRibNotifierBase_a5283e5d4dfadf6ec70c015f16347ec57}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries \_\-e}}
\label{classRibNotifierBase_a5283e5d4dfadf6ec70c015f16347ec57}

\item 
\hypertarget{classRibNotifierBase_ad80f4d01716f72a7a4953282dd5c729c}{
\hyperlink{classUpdateQueue}{UpdateQueue}$<$ A $>$ \& {\bfseries \_\-uq}}
\label{classRibNotifierBase_ad80f4d01716f72a7a4953282dd5c729c}

\item 
\hypertarget{classRibNotifierBase_aa09e78b5d63819fa5bb22fb8bc7de715}{
\hyperlink{classUpdateQueue}{UpdateQueue}$<$ A $>$::ReadIterator {\bfseries \_\-ri}}
\label{classRibNotifierBase_aa09e78b5d63819fa5bb22fb8bc7de715}

\item 
\hypertarget{classRibNotifierBase_a2d8bec3cf17757e8784b6409463f5d82}{
uint32\_\-t {\bfseries \_\-poll\_\-ms}}
\label{classRibNotifierBase_a2d8bec3cf17757e8784b6409463f5d82}

\item 
\hypertarget{classRibNotifierBase_a6fcac2ac67d5c014b70ef3f958d861ce}{
\hyperlink{classXorpTimer}{XorpTimer} {\bfseries \_\-t}}
\label{classRibNotifierBase_a6fcac2ac67d5c014b70ef3f958d861ce}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename A$>$ class RibNotifierBase$<$ A $>$}

Base class for \hyperlink{classRIB}{RIB} notificatiers. This class acts as a base class for \hyperlink{classRIB}{RIB} notifiers. \hyperlink{classRIB}{RIB} notifiers are classes that convey RIP routes to \hyperlink{protocolthe-p}{the} \hyperlink{classRIB}{RIB}. The base class implements update queue polling. When polling is enabled, it polls \hyperlink{protocolthe-p}{the} \hyperlink{classUpdateQueue}{UpdateQueue} periodically for updates to be send to \hyperlink{protocolthe-p}{the} \hyperlink{classRIB}{RIB}. If updates are available available it calls updates\_\-available() which derived classes implement according to their needs. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/rip/rib\_\-notifier\_\-base.hh\item 
/home/greearb/git/xorp.ct.github/xorp/rip/rib\_\-notifier\_\-base.cc\end{DoxyCompactItemize}
