\doxysubsection{Timer Class Reference}
\hypertarget{classfunc_1_1Timer}{}\label{classfunc_1_1Timer}\index{Timer@{Timer}}


Starts a timer when created. Stops when {\ttfamily \doxylink{classfunc_1_1Timer_a8c528baf37154d347366083f0f816846}{stop()}} is called and returns the duration in seconds with {\ttfamily \doxylink{classfunc_1_1Timer_adf529da375562b5aeb2f963055a03d19}{duration()}}.  




{\ttfamily \#include $<$Timer.\+hpp$>$}

\doxysubsubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classfunc_1_1Timer_a6a8bc5014802d569f6d01c4f36121a81}{Timer}} ()
\item 
void \mbox{\hyperlink{classfunc_1_1Timer_a8c528baf37154d347366083f0f816846}{stop}} ()
\item 
double \mbox{\hyperlink{classfunc_1_1Timer_adf529da375562b5aeb2f963055a03d19}{duration}} ()
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
Starts a timer when created. Stops when {\ttfamily \doxylink{classfunc_1_1Timer_a8c528baf37154d347366083f0f816846}{stop()}} is called and returns the duration in seconds with {\ttfamily \doxylink{classfunc_1_1Timer_adf529da375562b5aeb2f963055a03d19}{duration()}}. 

\begin{DoxyNote}{Note}
The timer\textquotesingle{}s duration is static after calling {\ttfamily \doxylink{classfunc_1_1Timer_a8c528baf37154d347366083f0f816846}{stop()}}. 

This measures the elapsed time in seconds. 
\end{DoxyNote}


\label{doc-constructors}
\Hypertarget{classfunc_1_1Timer_doc-constructors}
\doxysubsubsection{Constructor \& Destructor Documentation}
\Hypertarget{classfunc_1_1Timer_a6a8bc5014802d569f6d01c4f36121a81}\index{Timer@{Timer}!Timer@{Timer}}
\index{Timer@{Timer}!Timer@{Timer}}
\doxyparagraph{\texorpdfstring{Timer()}{Timer()}}
{\footnotesize\ttfamily \label{classfunc_1_1Timer_a6a8bc5014802d569f6d01c4f36121a81} 
\mbox{\hyperlink{classfunc_1_1Timer}{Timer}} (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Start the timer 

\label{doc-func-members}
\Hypertarget{classfunc_1_1Timer_doc-func-members}
\doxysubsubsection{Member Function Documentation}
\Hypertarget{classfunc_1_1Timer_adf529da375562b5aeb2f963055a03d19}\index{Timer@{Timer}!duration@{duration}}
\index{duration@{duration}!Timer@{Timer}}
\doxyparagraph{\texorpdfstring{duration()}{duration()}}
{\footnotesize\ttfamily \label{classfunc_1_1Timer_adf529da375562b5aeb2f963055a03d19} 
double duration (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Return how long the timer ran for \Hypertarget{classfunc_1_1Timer_a8c528baf37154d347366083f0f816846}\index{Timer@{Timer}!stop@{stop}}
\index{stop@{stop}!Timer@{Timer}}
\doxyparagraph{\texorpdfstring{stop()}{stop()}}
{\footnotesize\ttfamily \label{classfunc_1_1Timer_a8c528baf37154d347366083f0f816846} 
void stop (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Stop the timer 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Timer.\+hpp\end{DoxyCompactItemize}
