\hypertarget{classClockBase}{
\section{ClockBase Class Reference}
\label{classClockBase}\index{ClockBase@{ClockBase}}
}
Inheritance diagram for ClockBase:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classClockBase}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classClockBase_a1845e1f047d19622078a6a64d87d1c06}{
virtual void \hyperlink{classClockBase_a1845e1f047d19622078a6a64d87d1c06}{advance\_\-time} ()=0}
\label{classClockBase_a1845e1f047d19622078a6a64d87d1c06}

\begin{DoxyCompactList}\small\item\em Update internal concept of time. \item\end{DoxyCompactList}\item 
virtual void \hyperlink{classClockBase_afda7a2d4f130a82bee9d1864529bba16}{current\_\-time} (\hyperlink{classTimeVal}{TimeVal} \&tv)=0
\begin{DoxyCompactList}\small\item\em Get time it was when \hyperlink{classClockBase_a1845e1f047d19622078a6a64d87d1c06}{advance\_\-time()} was last called. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classClockBase_afda7a2d4f130a82bee9d1864529bba16}{
\index{ClockBase@{ClockBase}!current\_\-time@{current\_\-time}}
\index{current\_\-time@{current\_\-time}!ClockBase@{ClockBase}}
\subsubsection[{current\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}virtual void ClockBase::current\_\-time (
\begin{DoxyParamCaption}
\item[{{\bf TimeVal} \&}]{tv}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classClockBase_afda7a2d4f130a82bee9d1864529bba16}


Get time it was when \hyperlink{classClockBase_a1845e1f047d19622078a6a64d87d1c06}{advance\_\-time()} was last called. 

Successive calls to current\_\-time return \hyperlink{protocolthe-p}{the} same value. Time only advances when \hyperlink{classClockBase_a1845e1f047d19622078a6a64d87d1c06}{advance\_\-time()} is called.


\begin{DoxyParams}{Parameters}
{\em tv} & \hyperlink{classTimeVal}{TimeVal} to be filled in with current time. \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{classSystemClock_a358e65f5445f20ca76915ff1a54a8e00}{SystemClock}.



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