\hypertarget{classSpyManager}{\section{\-Spy\-Manager \-Class \-Reference}
\label{classSpyManager}\index{\-Spy\-Manager@{\-Spy\-Manager}}
}


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



\-Inheritance diagram for \-Spy\-Manager\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=300pt]{classSpyManager__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Spy\-Manager\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=300pt]{classSpyManager__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classSpyManager_1_1SpyData}{\-Spy\-Data}
\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classSpyManager_a839a5eaaa4b7d76fbc8514aa591e69d7}{\-Spy\-Manager} (\hyperlink{classArbitrator_1_1Arbitrator}{\-Arbitrator\-::\-Arbitrator}$<$ \hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$, double $>$ $\ast$arbitrator)
\item 
\hyperlink{classSpyManager_ae5aa70ce8c1730a85ab8bf81b68ba466}{$\sim$\-Spy\-Manager} ()
\item 
virtual void \hyperlink{classSpyManager_af171bf1c764f2c1619e5df1182ee0a0a}{on\-Offer} (std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$ $>$ units)
\item 
virtual void \hyperlink{classSpyManager_aa9ba7e4a8729b76b65c954f18e6a8710}{on\-Revoke} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit, double bid)
\item 
virtual void \hyperlink{classSpyManager_a10a84166d38bafdf20ef366abead9635}{update} ()
\item 
virtual std\-::string \hyperlink{classSpyManager_a5a695070042b8020a5f91069d4b53931}{get\-Name} () const 
\item 
virtual std\-::string \hyperlink{classSpyManager_af259f6c7a5774565c4c524c4eeb8d24f}{get\-Short\-Name} () const 
\item 
void \hyperlink{classSpyManager_a07db93f0ccad35d5d28878a5b4bca5f4}{on\-Remove\-Unit} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classSpyManager_adc4b5a7f7201c95ca44a3bae83cc4fd6}{remove\-Bid} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classSpyManager_aa502b4c58a1c6fd1cedc648a61d0d8ef}{build\-Observer} ()
\item 
void \hyperlink{classSpyManager_aaa03c855f6d24e5174627c787c0e02c7}{set\-Information\-Manager} (\hyperlink{classInformationManager}{\-Information\-Manager} $\ast$)
\item 
void \hyperlink{classSpyManager_a83847d7a337d9caa848ccbed5ea19de7}{set\-Build\-Order\-Manager} (\hyperlink{classBuildOrderManager}{\-Build\-Order\-Manager} $\ast$)
\item 
void \hyperlink{classSpyManager_a8dfe5fa63f2cbfce32f34be051f33867}{increase\-Spy\-Number} ()
\item 
void \hyperlink{classSpyManager_afba11aeb4d0b06ec89e31db723c5bfcf}{set\-Debug\-Mode} (bool)
\item 
void \hyperlink{classSpyManager_a36e9c97ddc38cf34be24d46f60bde802}{initialize} ()
\item 
bool \hyperlink{classSpyManager_a5a6251c6ee6521c5412ae198ff32b4c9}{is\-Initialized} ()
\item 
int \hyperlink{classSpyManager_a4369616335c3739f80b6d67ddbe21762}{get\-Number\-To\-Spy} ()
\item 
int \hyperlink{classSpyManager_abb549bc527d881db875319d3f2e8a150}{add\-Sight} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classSpyManager_a839a5eaaa4b7d76fbc8514aa591e69d7}{\index{\-Spy\-Manager@{\-Spy\-Manager}!\-Spy\-Manager@{\-Spy\-Manager}}
\index{\-Spy\-Manager@{\-Spy\-Manager}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{\-Spy\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Spy\-Manager\-::\-Spy\-Manager} (
\begin{DoxyParamCaption}
\item[{{\bf \-Arbitrator\-::\-Arbitrator}$<$ {\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$, double $>$ $\ast$}]{arbitrator}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a839a5eaaa4b7d76fbc8514aa591e69d7}
\hypertarget{classSpyManager_ae5aa70ce8c1730a85ab8bf81b68ba466}{\index{\-Spy\-Manager@{\-Spy\-Manager}!$\sim$\-Spy\-Manager@{$\sim$\-Spy\-Manager}}
\index{$\sim$\-Spy\-Manager@{$\sim$\-Spy\-Manager}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{$\sim$\-Spy\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Spy\-Manager\-::$\sim$\-Spy\-Manager} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_ae5aa70ce8c1730a85ab8bf81b68ba466}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classSpyManager_abb549bc527d881db875319d3f2e8a150}{\index{\-Spy\-Manager@{\-Spy\-Manager}!add\-Sight@{add\-Sight}}
\index{add\-Sight@{add\-Sight}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{add\-Sight}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Spy\-Manager\-::add\-Sight} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_abb549bc527d881db875319d3f2e8a150}


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


\hypertarget{classSpyManager_aa502b4c58a1c6fd1cedc648a61d0d8ef}{\index{\-Spy\-Manager@{\-Spy\-Manager}!build\-Observer@{build\-Observer}}
\index{build\-Observer@{build\-Observer}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{build\-Observer}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::build\-Observer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_aa502b4c58a1c6fd1cedc648a61d0d8ef}


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




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


\hypertarget{classSpyManager_a5a695070042b8020a5f91069d4b53931}{\index{\-Spy\-Manager@{\-Spy\-Manager}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Spy\-Manager\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classSpyManager_a5a695070042b8020a5f91069d4b53931}


\-Implements \hyperlink{classArbitrator_1_1Controller_a45cc1be65d1072e55573f730f74ac57c}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.

\hypertarget{classSpyManager_a4369616335c3739f80b6d67ddbe21762}{\index{\-Spy\-Manager@{\-Spy\-Manager}!get\-Number\-To\-Spy@{get\-Number\-To\-Spy}}
\index{get\-Number\-To\-Spy@{get\-Number\-To\-Spy}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{get\-Number\-To\-Spy}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Spy\-Manager\-::get\-Number\-To\-Spy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a4369616335c3739f80b6d67ddbe21762}
\hypertarget{classSpyManager_af259f6c7a5774565c4c524c4eeb8d24f}{\index{\-Spy\-Manager@{\-Spy\-Manager}!get\-Short\-Name@{get\-Short\-Name}}
\index{get\-Short\-Name@{get\-Short\-Name}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{get\-Short\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Spy\-Manager\-::get\-Short\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classSpyManager_af259f6c7a5774565c4c524c4eeb8d24f}


\-Reimplemented from \hyperlink{classArbitrator_1_1Controller_a967e48feecb2b3b0a333491302d92fe6}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.

\hypertarget{classSpyManager_a8dfe5fa63f2cbfce32f34be051f33867}{\index{\-Spy\-Manager@{\-Spy\-Manager}!increase\-Spy\-Number@{increase\-Spy\-Number}}
\index{increase\-Spy\-Number@{increase\-Spy\-Number}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{increase\-Spy\-Number}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::increase\-Spy\-Number} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a8dfe5fa63f2cbfce32f34be051f33867}


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


\hypertarget{classSpyManager_a36e9c97ddc38cf34be24d46f60bde802}{\index{\-Spy\-Manager@{\-Spy\-Manager}!initialize@{initialize}}
\index{initialize@{initialize}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{initialize}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::initialize} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a36e9c97ddc38cf34be24d46f60bde802}


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


\hypertarget{classSpyManager_a5a6251c6ee6521c5412ae198ff32b4c9}{\index{\-Spy\-Manager@{\-Spy\-Manager}!is\-Initialized@{is\-Initialized}}
\index{is\-Initialized@{is\-Initialized}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{is\-Initialized}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Spy\-Manager\-::is\-Initialized} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a5a6251c6ee6521c5412ae198ff32b4c9}
\hypertarget{classSpyManager_af171bf1c764f2c1619e5df1182ee0a0a}{\index{\-Spy\-Manager@{\-Spy\-Manager}!on\-Offer@{on\-Offer}}
\index{on\-Offer@{on\-Offer}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{on\-Offer}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::on\-Offer} (
\begin{DoxyParamCaption}
\item[{std\-::set$<$ {\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$ $>$}]{units}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classSpyManager_af171bf1c764f2c1619e5df1182ee0a0a}


\-Implements \hyperlink{classArbitrator_1_1Controller_ad2281de6abeee9baa641e32d9c679d75}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.



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


\hypertarget{classSpyManager_a07db93f0ccad35d5d28878a5b4bca5f4}{\index{\-Spy\-Manager@{\-Spy\-Manager}!on\-Remove\-Unit@{on\-Remove\-Unit}}
\index{on\-Remove\-Unit@{on\-Remove\-Unit}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{on\-Remove\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::on\-Remove\-Unit} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a07db93f0ccad35d5d28878a5b4bca5f4}


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




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


\hypertarget{classSpyManager_aa9ba7e4a8729b76b65c954f18e6a8710}{\index{\-Spy\-Manager@{\-Spy\-Manager}!on\-Revoke@{on\-Revoke}}
\index{on\-Revoke@{on\-Revoke}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{on\-Revoke}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::on\-Revoke} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit, }
\item[{double}]{bid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classSpyManager_aa9ba7e4a8729b76b65c954f18e6a8710}


\-Implements \hyperlink{classArbitrator_1_1Controller_ab501229508dba3084da78d656f40e174}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.



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


\hypertarget{classSpyManager_adc4b5a7f7201c95ca44a3bae83cc4fd6}{\index{\-Spy\-Manager@{\-Spy\-Manager}!remove\-Bid@{remove\-Bid}}
\index{remove\-Bid@{remove\-Bid}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{remove\-Bid}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::remove\-Bid} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classSpyManager_adc4b5a7f7201c95ca44a3bae83cc4fd6}


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




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


\hypertarget{classSpyManager_a83847d7a337d9caa848ccbed5ea19de7}{\index{\-Spy\-Manager@{\-Spy\-Manager}!set\-Build\-Order\-Manager@{set\-Build\-Order\-Manager}}
\index{set\-Build\-Order\-Manager@{set\-Build\-Order\-Manager}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{set\-Build\-Order\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::set\-Build\-Order\-Manager} (
\begin{DoxyParamCaption}
\item[{{\bf \-Build\-Order\-Manager} $\ast$}]{bo\-Manager}
\end{DoxyParamCaption}
)}}\label{classSpyManager_a83847d7a337d9caa848ccbed5ea19de7}
\hypertarget{classSpyManager_afba11aeb4d0b06ec89e31db723c5bfcf}{\index{\-Spy\-Manager@{\-Spy\-Manager}!set\-Debug\-Mode@{set\-Debug\-Mode}}
\index{set\-Debug\-Mode@{set\-Debug\-Mode}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{set\-Debug\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::set\-Debug\-Mode} (
\begin{DoxyParamCaption}
\item[{bool}]{debug\-Mode}
\end{DoxyParamCaption}
)}}\label{classSpyManager_afba11aeb4d0b06ec89e31db723c5bfcf}
\hypertarget{classSpyManager_aaa03c855f6d24e5174627c787c0e02c7}{\index{\-Spy\-Manager@{\-Spy\-Manager}!set\-Information\-Manager@{set\-Information\-Manager}}
\index{set\-Information\-Manager@{set\-Information\-Manager}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{set\-Information\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::set\-Information\-Manager} (
\begin{DoxyParamCaption}
\item[{{\bf \-Information\-Manager} $\ast$}]{info\-Manager}
\end{DoxyParamCaption}
)}}\label{classSpyManager_aaa03c855f6d24e5174627c787c0e02c7}
\hypertarget{classSpyManager_a10a84166d38bafdf20ef366abead9635}{\index{\-Spy\-Manager@{\-Spy\-Manager}!update@{update}}
\index{update@{update}!SpyManager@{\-Spy\-Manager}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Spy\-Manager\-::update} (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classSpyManager_a10a84166d38bafdf20ef366abead9635}


\-Implements \hyperlink{classArbitrator_1_1Controller_a378f0df1a79b5287ee41026d9c77f866}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.



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




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Aiur/include/\hyperlink{SpyManager_8h}{\-Spy\-Manager.\-h}\item 
\-Aiur/src/\hyperlink{SpyManager_8cpp}{\-Spy\-Manager.\-cpp}\end{DoxyCompactItemize}
