\hypertarget{classTimerListObserverBase}{
\section{TimerListObserverBase Class Reference}
\label{classTimerListObserverBase}\index{TimerListObserverBase@{TimerListObserverBase}}
}


Abstract class used to receive \hyperlink{classTimerList}{TimerList} notifications.  




{\ttfamily \#include $<$timer.hh$>$}

Inheritance diagram for TimerListObserverBase:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classTimerListObserverBase}
\end{center}
\end{figure}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classTimerListObserverBase_a25089f14af7d2df1ae173bbfe21e48a8}{notify\_\-scheduled} (const \hyperlink{classTimeVal}{TimeVal} \&)=0
\begin{DoxyCompactList}\small\item\em This function will get called when a timer is scheduled. \item\end{DoxyCompactList}\item 
\hypertarget{classTimerListObserverBase_adc9909c5dffcad73d4545033265bc6b3}{
virtual void \hyperlink{classTimerListObserverBase_adc9909c5dffcad73d4545033265bc6b3}{notify\_\-unscheduled} (const \hyperlink{classTimeVal}{TimeVal} \&)=0}
\label{classTimerListObserverBase_adc9909c5dffcad73d4545033265bc6b3}

\begin{DoxyCompactList}\small\item\em This function will get called when a timer is unscheduled. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTimerListObserverBase_af0d5616f625d1faca93afba1fa58b8b9}{
\hyperlink{classTimerList}{TimerList} $\ast$ {\bfseries \_\-observed}}
\label{classTimerListObserverBase_af0d5616f625d1faca93afba1fa58b8b9}

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTimerListObserverBase_a37bed02599bfb687e98de9635dc58d5d}{
class \hyperlink{classTimerListObserverBase_a37bed02599bfb687e98de9635dc58d5d}{TimerList}}
\label{classTimerListObserverBase_a37bed02599bfb687e98de9635dc58d5d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Abstract class used to receive \hyperlink{classTimerList}{TimerList} notifications. \hyperlink{classTimerListObserverBase}{TimerListObserverBase} is a class that can be subtyped to receive notifications on when timers are created or expired. All \hyperlink{protocolthe-p}{the} methods in this class are private, since they must only be invoked by \hyperlink{protocolthe-p}{the} friend class, \hyperlink{classTimerList}{TimerList}

\begin{DoxySeeAlso}{See also}
\hyperlink{classTimerList}{TimerList} 
\end{DoxySeeAlso}


\subsection{Member Function Documentation}
\hypertarget{classTimerListObserverBase_a25089f14af7d2df1ae173bbfe21e48a8}{
\index{TimerListObserverBase@{TimerListObserverBase}!notify\_\-scheduled@{notify\_\-scheduled}}
\index{notify\_\-scheduled@{notify\_\-scheduled}!TimerListObserverBase@{TimerListObserverBase}}
\subsubsection[{notify\_\-scheduled}]{\setlength{\rightskip}{0pt plus 5cm}virtual void TimerListObserverBase::notify\_\-scheduled (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, pure virtual\mbox{]}}}}
\label{classTimerListObserverBase_a25089f14af7d2df1ae173bbfe21e48a8}


This function will get called when a timer is scheduled. 

Periodic timers will produce periodic notifications. 

Implemented in \hyperlink{classmyTimerListObserver_a9afbf88207f1bd7e2255c116f15c8eb5}{myTimerListObserver}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/libxorp/timer.hh\item 
/home/greearb/git/xorp.ct.github/xorp/libxorp/timer.cc\end{DoxyCompactItemize}
