\hypertarget{classObserverManager}{\section{\-Observer\-Manager \-Class \-Reference}
\label{classObserverManager}\index{\-Observer\-Manager@{\-Observer\-Manager}}
}


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



\-Inheritance diagram for \-Observer\-Manager\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=218pt]{classObserverManager__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Observer\-Manager\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classObserverManager__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classObserverManager_a99998b9baabdc24e961b762c4d800b28}{\-Observer\-Manager} ()
\item 
\hyperlink{classObserverManager_a043646018cda47863fffd3dc40fee944}{$\sim$\-Observer\-Manager} ()
\item 
void \hyperlink{classObserverManager_ac5ebe7353020ffa354046c6a01cb7dad}{set\-Unit\-Closest\-To\-Enemy} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classObserverManager_ad51fdb544b9673437d6dbbd7fb8d1728}{execute\-Micro} (const \hyperlink{Common_8h_a8c0363f93a75c9c1af18ed69aed90ddf}{\-Unit\-Vector} \&targets, \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} regroup=\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position}(0, 0))
\item 
\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$ \hyperlink{classObserverManager_af8a0fc6fa05278d93cb0c49e7a0ccf79}{closest\-Cloaked\-Unit} (const \hyperlink{Common_8h_a8c0363f93a75c9c1af18ed69aed90ddf}{\-Unit\-Vector} \&cloaked\-Units, \hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$observer)
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classObserverManager_a99998b9baabdc24e961b762c4d800b28}{\index{\-Observer\-Manager@{\-Observer\-Manager}!\-Observer\-Manager@{\-Observer\-Manager}}
\index{\-Observer\-Manager@{\-Observer\-Manager}!ObserverManager@{\-Observer\-Manager}}
\subsubsection[{\-Observer\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Observer\-Manager\-::\-Observer\-Manager} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classObserverManager_a99998b9baabdc24e961b762c4d800b28}
\hypertarget{classObserverManager_a043646018cda47863fffd3dc40fee944}{\index{\-Observer\-Manager@{\-Observer\-Manager}!$\sim$\-Observer\-Manager@{$\sim$\-Observer\-Manager}}
\index{$\sim$\-Observer\-Manager@{$\sim$\-Observer\-Manager}!ObserverManager@{\-Observer\-Manager}}
\subsubsection[{$\sim$\-Observer\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Observer\-Manager\-::$\sim$\-Observer\-Manager} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classObserverManager_a043646018cda47863fffd3dc40fee944}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classObserverManager_af8a0fc6fa05278d93cb0c49e7a0ccf79}{\index{\-Observer\-Manager@{\-Observer\-Manager}!closest\-Cloaked\-Unit@{closest\-Cloaked\-Unit}}
\index{closest\-Cloaked\-Unit@{closest\-Cloaked\-Unit}!ObserverManager@{\-Observer\-Manager}}
\subsubsection[{closest\-Cloaked\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$ {\bf \-Observer\-Manager\-::closest\-Cloaked\-Unit} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Vector} \&}]{cloaked\-Units, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{observer}
\end{DoxyParamCaption}
)}}\label{classObserverManager_af8a0fc6fa05278d93cb0c49e7a0ccf79}


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




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


\hypertarget{classObserverManager_ad51fdb544b9673437d6dbbd7fb8d1728}{\index{\-Observer\-Manager@{\-Observer\-Manager}!execute\-Micro@{execute\-Micro}}
\index{execute\-Micro@{execute\-Micro}!ObserverManager@{\-Observer\-Manager}}
\subsubsection[{execute\-Micro}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Observer\-Manager\-::execute\-Micro} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Vector} \&}]{targets, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{regroup = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Position}(0,0)}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classObserverManager_ad51fdb544b9673437d6dbbd7fb8d1728}


\-Reimplemented from \hyperlink{classMicroManager_a28dc900f0a8c936db6f5146b41ec8d14}{\-Micro\-Manager}.



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


\hypertarget{classObserverManager_ac5ebe7353020ffa354046c6a01cb7dad}{\index{\-Observer\-Manager@{\-Observer\-Manager}!set\-Unit\-Closest\-To\-Enemy@{set\-Unit\-Closest\-To\-Enemy}}
\index{set\-Unit\-Closest\-To\-Enemy@{set\-Unit\-Closest\-To\-Enemy}!ObserverManager@{\-Observer\-Manager}}
\subsubsection[{set\-Unit\-Closest\-To\-Enemy}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Observer\-Manager\-::set\-Unit\-Closest\-To\-Enemy} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classObserverManager_ac5ebe7353020ffa354046c6a01cb7dad}


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




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/micromanagement/\hyperlink{ObserverManager_8h}{\-Observer\-Manager.\-h}\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/micromanagement/\hyperlink{ObserverManager_8cpp}{\-Observer\-Manager.\-cpp}\end{DoxyCompactItemize}
