\hypertarget{classTimeManager}{\section{\-Time\-Manager \-Class \-Reference}
\label{classTimeManager}\index{\-Time\-Manager@{\-Time\-Manager}}
}


{\ttfamily \#include $<$\-Time\-Manager.\-h$>$}



\-Inheritance diagram for \-Time\-Manager\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=222pt]{classTimeManager__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Time\-Manager\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=222pt]{classTimeManager__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classTimeManager_a97d902b19861efc099141eeb846671a3}{update} ()
\item 
std\-::string \hyperlink{classTimeManager_a8adb64927c40af6efe3902ff0831813f}{get\-Name} () const 
\item 
void \hyperlink{classTimeManager_a8f397e161f25ba0aaa20598c908066d8}{display} () const 
\item 
void \hyperlink{classTimeManager_aed1205eb35f687952742bb8b0e821c05}{insert} (\hyperlink{structTimeManaged}{\-Time\-Managed} $\ast$to\-Manage)
\item 
const std\-::list$<$ \hyperlink{structTimeManaged}{\-Time\-Managed} $\ast$ $>$ \& \hyperlink{classTimeManager_ac5203c14fb8c446b1e441a6d0fb83696}{get\-Managed} () const 
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \-V\-O\-I\-D \-C\-A\-L\-L\-B\-A\-C\-K \hyperlink{classTimeManager_a86d71a17aead8b23eaacee5e772ad63e}{suspend\-All} (\-H\-W\-N\-D hwnd, \-U\-I\-N\-T message, \-U\-I\-N\-T id\-Timer, \-D\-W\-O\-R\-D dw\-Time)
\end{DoxyCompactItemize}
\subsection*{\-Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classTimeManager_a02505defd259218d9af550900b231ac9}{\-C\-Singleton$<$ Time\-Manager $>$}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Special exception to abort a thread gently \-The goal of this class is to provide tools related to \hyperlink{classTimeManager}{\-Time\-Manager}.

\-The frame count since the begining can be retrieved. \-All classes running an update/on\-Frame() in \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I}'s thread should register here \-To be terminated if they take more than 1/25 sec (40ms) to run (and so slow down the game). 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classTimeManager_a8f397e161f25ba0aaa20598c908066d8}{\index{\-Time\-Manager@{\-Time\-Manager}!display@{display}}
\index{display@{display}!TimeManager@{\-Time\-Manager}}
\subsubsection[{display}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Time\-Manager\-::display} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTimeManager_a8f397e161f25ba0aaa20598c908066d8}
\hypertarget{classTimeManager_ac5203c14fb8c446b1e441a6d0fb83696}{\index{\-Time\-Manager@{\-Time\-Manager}!get\-Managed@{get\-Managed}}
\index{get\-Managed@{get\-Managed}!TimeManager@{\-Time\-Manager}}
\subsubsection[{get\-Managed}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::list$<$ {\bf \-Time\-Managed} $\ast$ $>$ \& {\bf \-Time\-Manager\-::get\-Managed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTimeManager_ac5203c14fb8c446b1e441a6d0fb83696}
\hypertarget{classTimeManager_a8adb64927c40af6efe3902ff0831813f}{\index{\-Time\-Manager@{\-Time\-Manager}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!TimeManager@{\-Time\-Manager}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Time\-Manager\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTimeManager_a8adb64927c40af6efe3902ff0831813f}
\hypertarget{classTimeManager_aed1205eb35f687952742bb8b0e821c05}{\index{\-Time\-Manager@{\-Time\-Manager}!insert@{insert}}
\index{insert@{insert}!TimeManager@{\-Time\-Manager}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Time\-Manager\-::insert} (
\begin{DoxyParamCaption}
\item[{{\bf \-Time\-Managed} $\ast$}]{to\-Manage}
\end{DoxyParamCaption}
)}}\label{classTimeManager_aed1205eb35f687952742bb8b0e821c05}


\-Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classTimeManager_aed1205eb35f687952742bb8b0e821c05_icgraph}
\end{center}
\end{figure}


\hypertarget{classTimeManager_a86d71a17aead8b23eaacee5e772ad63e}{\index{\-Time\-Manager@{\-Time\-Manager}!suspend\-All@{suspend\-All}}
\index{suspend\-All@{suspend\-All}!TimeManager@{\-Time\-Manager}}
\subsubsection[{suspend\-All}]{\setlength{\rightskip}{0pt plus 5cm}\-V\-O\-I\-D \-C\-A\-L\-L\-B\-A\-C\-K {\bf \-Time\-Manager\-::suspend\-All} (
\begin{DoxyParamCaption}
\item[{\-H\-W\-N\-D}]{hwnd, }
\item[{\-U\-I\-N\-T}]{message, }
\item[{\-U\-I\-N\-T}]{id\-Timer, }
\item[{\-D\-W\-O\-R\-D}]{dw\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classTimeManager_a86d71a17aead8b23eaacee5e772ad63e}


\-Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classTimeManager_a86d71a17aead8b23eaacee5e772ad63e_icgraph}
\end{center}
\end{figure}


\hypertarget{classTimeManager_a97d902b19861efc099141eeb846671a3}{\index{\-Time\-Manager@{\-Time\-Manager}!update@{update}}
\index{update@{update}!TimeManager@{\-Time\-Manager}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Time\-Manager\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTimeManager_a97d902b19861efc099141eeb846671a3}


\-Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classTimeManager_a97d902b19861efc099141eeb846671a3_cgraph}
\end{center}
\end{figure}




\subsection{\-Friends \-And \-Related \-Function \-Documentation}
\hypertarget{classTimeManager_a02505defd259218d9af550900b231ac9}{\index{\-Time\-Manager@{\-Time\-Manager}!\-C\-Singleton$<$ Time\-Manager $>$@{\-C\-Singleton$<$ Time\-Manager $>$}}
\index{\-C\-Singleton$<$ Time\-Manager $>$@{\-C\-Singleton$<$ Time\-Manager $>$}!TimeManager@{\-Time\-Manager}}
\subsubsection[{\-C\-Singleton$<$ Time\-Manager $>$}]{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf \-C\-Singleton}$<$ {\bf \-Time\-Manager} $>$\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{classTimeManager_a02505defd259218d9af550900b231ac9}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Utils/\hyperlink{TimeManager_8h}{\-Time\-Manager.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Utils/\hyperlink{TimeManager_8cpp}{\-Time\-Manager.\-cpp}\end{DoxyCompactItemize}
