\hypertarget{classTask}{\section{\-Task \-Class \-Reference}
\label{classTask}\index{\-Task@{\-Task}}
}


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



\-Inheritance diagram for \-Task\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=318pt]{classTask__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Task\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classTask__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classTask_acebe1b0b68e17055659cb1afca373509}{\-Task} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$w, \-B\-W\-A\-P\-I\-::\-Tile\-Position tp=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}, \-B\-W\-A\-P\-I\-::\-Unit\-Type ut=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Unit\-Types\-::\-None}, int lo=0)
\item 
void \hyperlink{classTask_acf6bd9a209eb3fa44749bfd068af99f5}{init} ()
\item 
\hyperlink{classTask_a3ecf499ea35fb4a96853969a1e1cbbce}{$\sim$\-Task} ()
\item 
virtual void \hyperlink{classTask_a2543785a4d04e234f817a8d434aff94d}{on\-Offer} (std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$ units)
\item 
virtual void \hyperlink{classTask_afc227cfebaafcb8017bb8f6008d7c9c5}{on\-Revoke} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit, double bid)
\item 
void \hyperlink{classTask_a93e661e1c1a0d8f387b2e58139b0ea49}{ask\-Worker} ()
\item 
void \hyperlink{classTask_a61372a4259035f969f1f51799ef87132}{build\-It} ()
\item 
virtual std\-::string \hyperlink{classTask_af2659bb81ca9c511e46c2c174db78504}{get\-Name} () const 
\item 
virtual std\-::string \hyperlink{classTask_aac27c5a14cb291c7dc96a3ce5cb64eca}{get\-Short\-Name} () const 
\item 
void \hyperlink{classTask_a1a36a0f4501900c22a6bc7d17ddd9d54}{check} ()
\item 
virtual void \hyperlink{classTask_a4ceb4bba9ac808a61e346031a6beac89}{update} ()
\item 
const \-B\-W\-A\-P\-I\-::\-Unit\-Type \& \hyperlink{classTask_aec4da6d002e73b623022fa3556d5cf0f}{get\-Type} () const 
\item 
int \hyperlink{classTask_a88752d30d4dd6a20d914d1cf784d2bcf}{get\-Last\-Order} () const 
\item 
bool \hyperlink{classTask_aa8013289fde3086e1c8816f65ed9298e}{is\-Finished} ()
\item 
\hyperlink{classTask_a0ca53354bdc006762a0fda68c64f7608}{\-Task} ()
\item 
\hyperlink{classTask_a9ba30a139ff6154b5f560b2407b08f30}{\-Task} (const \-B\-W\-A\-P\-I\-::\-Unit\-Type t, const \-B\-W\-A\-P\-I\-::\-Tile\-Position p=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None})
\item 
\hyperlink{classTask_adb8df60be34bb0be454ae7bb357071f3}{\-Task} (const \-B\-W\-A\-P\-I\-::\-Tech\-Type t, const \-B\-W\-A\-P\-I\-::\-Tile\-Position p=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None})
\item 
\hyperlink{classTask_ae11f09afd1194ed74d4352ddb4b85ebd}{\-Task} (const \-B\-W\-A\-P\-I\-::\-Upgrade\-Type t, int l=-\/1, const \-B\-W\-A\-P\-I\-::\-Tile\-Position p=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None})
\item 
\hyperlink{classTask}{\-Task} \& \hyperlink{classTask_a875c8ca446a90b501de14a7acc9022b6}{operator=} (const \hyperlink{classTask}{\-Task} t)
\item 
\hyperlink{classTask}{\-Task} \& \hyperlink{classTask_a370ca8bffba91a2e9be6427819b69acc}{set\-Type} (const \-B\-W\-A\-P\-I\-::\-Unit\-Type t, const \-B\-W\-A\-P\-I\-::\-Tile\-Position p=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None})
\item 
\hyperlink{classTask}{\-Task} \& \hyperlink{classTask_a7bbaa702b707ca6e8343197f7331a8d7}{set\-Type} (const \-B\-W\-A\-P\-I\-::\-Tech\-Type t, const \-B\-W\-A\-P\-I\-::\-Tile\-Position p=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None})
\item 
\hyperlink{classTask}{\-Task} \& \hyperlink{classTask_a5939a359d2d0fc23dc3f5104affaeca8}{set\-Type} (const \-B\-W\-A\-P\-I\-::\-Upgrade\-Type t, int l=-\/1, const \-B\-W\-A\-P\-I\-::\-Tile\-Position p=\hyperlink{Macro_2UnitGroup_8h_add79f866c2bbd6a8c66c9111fda8bca6ac9d3e887722f2bc482bcca9d41c512af}{\-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None})
\item 
\hyperlink{classTask}{\-Task} \& \hyperlink{classTask_a908b1be007b7f931328213a83801e7a7}{set\-Level} (int l)
\item 
\hyperlink{classTask}{\-Task} \& \hyperlink{classTask_a5d046ce60f555300dafb0fe22a1ffc80}{set\-Tile\-Position} (const \-B\-W\-A\-P\-I\-::\-Tile\-Position p)
\item 
bool \hyperlink{classTask_aec6eb2742ae54896862301eff01fbb88}{operator==} (void $\ast$ptr) const 
\item 
bool \hyperlink{classTask_a5a183869397bea6bc27fc30401bba5b2}{operator!=} (void $\ast$ptr) const 
\item 
bool \hyperlink{classTask_aed787d17be8ac4a0e0cbf74d7da3209f}{operator==} (const \hyperlink{classTask}{\-Task} \&t) const 
\item 
bool \hyperlink{classTask_ad13b757de9cb15f39326bd15417e0064}{operator$<$} (const \hyperlink{classTask}{\-Task} \&t) const 
\item 
bool \hyperlink{classTask_a0b00f6c6eec035d44b37284c1691ab48}{operator==} (const \-B\-W\-A\-P\-I\-::\-Unit\-Type \&t) const 
\item 
bool \hyperlink{classTask_a7e388c883d322b8b79abad4bd9bff5b1}{operator==} (const \-B\-W\-A\-P\-I\-::\-Tech\-Type \&t) const 
\item 
bool \hyperlink{classTask_a4c9256314935b757360f20a40705f44e}{operator==} (const \-B\-W\-A\-P\-I\-::\-Upgrade\-Type \&t) const 
\item 
bool \hyperlink{classTask_ac37aa27286f932f3c06ebed0b57b5cd4}{operator==} (const \-B\-W\-A\-P\-I\-::\-Tile\-Position \&p) const 
\item 
bool \hyperlink{classTask_a6e4bc44ed02ffb4e5c839acf9113cdc1}{is\-Being\-Executed\-By} (const \-B\-W\-A\-P\-I\-::\-Unit $\ast$unit) const 
\item 
\hyperlink{namespaceTaskTypes_a3cb6ecff896f33133cb3d8a9ae6d6a3f}{\-Task\-Types\-::\-Enum} \hyperlink{classTask_aec4da6d002e73b623022fa3556d5cf0f}{get\-Type} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Unit\-Type \hyperlink{classTask_a5154b264a0527a5ad809aa69cd652968}{get\-Unit} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Tech\-Type \hyperlink{classTask_a2c1e1204738cba9c8e62974dd9ba40b9}{get\-Tech} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Upgrade\-Type \hyperlink{classTask_a94c7c5a5077d56228ab0fa1792a52d76}{get\-Upgrade} () const 
\item 
int \hyperlink{classTask_a9fc4824dcd751ac1cecd41de101154c4}{get\-Level} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Tile\-Position \hyperlink{classTask_afb1626b2788b6b89f861ea45442fc8eb}{get\-Tile\-Position} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Unit\-Type \hyperlink{classTask_a428c59e78a6a24e8d11478691e0de59f}{get\-Worker\-Type} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Race \hyperlink{classTask_ac11994625f2bd364588c068f8daf72e3}{get\-Race} () const 
\item 
std\-::map$<$ \-B\-W\-A\-P\-I\-::\-Unit\-Type, int $>$ \hyperlink{classTask_ae85a6d8125bcd0a876283cdc550d12f4}{get\-Required\-Units} () const 
\item 
\hyperlink{classResources}{\-Resources} \hyperlink{classTask_a9aa7a641be873e88b15361e3bb13f1fc}{get\-Resources} () const 
\item 
int \hyperlink{classTask_a55f6940c8b7c41cf0f5cad4d92171639}{get\-Time} () const 
\item 
std\-::string \hyperlink{classTask_af2659bb81ca9c511e46c2c174db78504}{get\-Name} () const 
\item 
std\-::string \hyperlink{classTask_a6a6eb0844f54c14faae75f03616c6c48}{get\-Verb} () const 
\item 
void \hyperlink{classTask_a87fd699617baeb92de83117f02a7f6e5}{set\-Earliest\-Start\-Time} (int time)
\item 
int \hyperlink{classTask_af8290f7e29c69af76665f03e49a3b5dc}{get\-Earliest\-Start\-Time} () const 
\item 
void \hyperlink{classTask_af24697e3907357c506a8626e8374e417}{set\-Start\-Time} (int time)
\item 
int \hyperlink{classTask_af72eb65c4fbfbf098b387835caf210f4}{get\-Start\-Time} () const 
\item 
int \hyperlink{classTask_ac21b825eddd3148495278f44ea9bfc08}{get\-Finish\-Time} () const 
\item 
int \hyperlink{classTask_abfe497ee594dc50dab912372de9325e8}{get\-Remaining\-Time} () const 
\item 
void \hyperlink{classTask_a4661ad8e5a7171c5a356c2064da9230f}{set\-Spent\-Resources} (bool spent)
\item 
bool \hyperlink{classTask_a027d9395bdc3f02d4eaed7dcb0164790}{has\-Spent\-Resources} () const 
\item 
void \hyperlink{classTask_aa623905e83b9a7b1b438bafa6315c1c5}{set\-Executing} (bool exec)
\item 
bool \hyperlink{classTask_a019313d2dfafbbca8020116196df8ca0}{is\-Executing} () const 
\item 
void \hyperlink{classTask_ae8efabf00711e861a4ba2e4f10ab9ef2}{set\-Reserved\-Resources\-This\-Frame} (bool reserved)
\item 
bool \hyperlink{classTask_a97749417f5da076520c04edf56f27048}{has\-Reserved\-Resources\-This\-Frame} () const 
\item 
void \hyperlink{classTask_a6bf102fa232f6e4ba9daba3536bf50d0}{set\-Reserved\-Finish\-Data\-This\-Frame} (bool reserved)
\item 
bool \hyperlink{classTask_afbd383f81443f20ab3168c73e100fb68}{has\-Reserved\-Finish\-Data\-This\-Frame} () const 
\item 
void \hyperlink{classTask_a273044c623acf6207f8eef361146fdb2}{set\-Completed} (bool c)
\item 
bool \hyperlink{classTask_ad2ee62a1496c792163a8329327f5e3db}{is\-Completed} () const 
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{classTask_a1878b87b03ae08ed0b0742d0106016f4}{frames\-To\-Complete\-Requirements} (\-B\-W\-A\-P\-I\-::\-Unit\-Type type)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classSimCityBuildingPlacer}{\-Sim\-City\-Building\-Placer} $\ast$ \hyperlink{classTask_a208b5fb137d5b2daebfb27972e21f406}{building\-Placer} = \hyperlink{CSingleton_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{\-N\-U\-L\-L}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classTask_acebe1b0b68e17055659cb1afca373509}{\index{\-Task@{\-Task}!\-Task@{\-Task}}
\index{\-Task@{\-Task}!Task@{\-Task}}
\subsubsection[{\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-::\-Task} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{w, }
\item[{\-B\-W\-A\-P\-I\-::\-Tile\-Position}]{tp = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{ut = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Types\-::\-None}}, }
\item[{int}]{lo = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classTask_acebe1b0b68e17055659cb1afca373509}
\hypertarget{classTask_a3ecf499ea35fb4a96853969a1e1cbbce}{\index{\-Task@{\-Task}!$\sim$\-Task@{$\sim$\-Task}}
\index{$\sim$\-Task@{$\sim$\-Task}!Task@{\-Task}}
\subsubsection[{$\sim$\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-::$\sim$\-Task} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTask_a3ecf499ea35fb4a96853969a1e1cbbce}


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


\hypertarget{classTask_a0ca53354bdc006762a0fda68c64f7608}{\index{\-Task@{\-Task}!\-Task@{\-Task}}
\index{\-Task@{\-Task}!Task@{\-Task}}
\subsubsection[{\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-::\-Task} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTask_a0ca53354bdc006762a0fda68c64f7608}
\hypertarget{classTask_a9ba30a139ff6154b5f560b2407b08f30}{\index{\-Task@{\-Task}!\-Task@{\-Task}}
\index{\-Task@{\-Task}!Task@{\-Task}}
\subsubsection[{\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-::\-Task} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Unit\-Type}]{t, }
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}}
\end{DoxyParamCaption}
)}}\label{classTask_a9ba30a139ff6154b5f560b2407b08f30}
\hypertarget{classTask_adb8df60be34bb0be454ae7bb357071f3}{\index{\-Task@{\-Task}!\-Task@{\-Task}}
\index{\-Task@{\-Task}!Task@{\-Task}}
\subsubsection[{\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-::\-Task} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Tech\-Type}]{t, }
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}}
\end{DoxyParamCaption}
)}}\label{classTask_adb8df60be34bb0be454ae7bb357071f3}
\hypertarget{classTask_ae11f09afd1194ed74d4352ddb4b85ebd}{\index{\-Task@{\-Task}!\-Task@{\-Task}}
\index{\-Task@{\-Task}!Task@{\-Task}}
\subsubsection[{\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-::\-Task} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Upgrade\-Type}]{t, }
\item[{int}]{l = {\ttfamily -\/1}, }
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}}
\end{DoxyParamCaption}
)}}\label{classTask_ae11f09afd1194ed74d4352ddb4b85ebd}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classTask_a93e661e1c1a0d8f387b2e58139b0ea49}{\index{\-Task@{\-Task}!ask\-Worker@{ask\-Worker}}
\index{ask\-Worker@{ask\-Worker}!Task@{\-Task}}
\subsubsection[{ask\-Worker}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::ask\-Worker} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classTask_a93e661e1c1a0d8f387b2e58139b0ea49}


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




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


\hypertarget{classTask_a61372a4259035f969f1f51799ef87132}{\index{\-Task@{\-Task}!build\-It@{build\-It}}
\index{build\-It@{build\-It}!Task@{\-Task}}
\subsubsection[{build\-It}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::build\-It} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classTask_a61372a4259035f969f1f51799ef87132}
\-Just in case the worker got killed / captured

\-If it requires psi but there is not, ask for a powering pylon, or cancel if we can't power it

\-Ask for a powering pylon

\-Move closer to the construction site

\-Try and build it if we can 

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




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


\hypertarget{classTask_a1a36a0f4501900c22a6bc7d17ddd9d54}{\index{\-Task@{\-Task}!check@{check}}
\index{check@{check}!Task@{\-Task}}
\subsubsection[{check}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::check} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTask_a1a36a0f4501900c22a6bc7d17ddd9d54}
\-Check if we have finished, or if there are blocking units we can move, or if the build \-Tile\-Position is really blocked

\-Retry in a few seconds because the fucker stole our gas 

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


\hypertarget{classTask_a1878b87b03ae08ed0b0742d0106016f4}{\index{\-Task@{\-Task}!frames\-To\-Complete\-Requirements@{frames\-To\-Complete\-Requirements}}
\index{frames\-To\-Complete\-Requirements@{frames\-To\-Complete\-Requirements}!Task@{\-Task}}
\subsubsection[{frames\-To\-Complete\-Requirements}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::frames\-To\-Complete\-Requirements} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classTask_a1878b87b03ae08ed0b0742d0106016f4}
\-We don't have the requirements we will have to delay this construction

\-We are not building the requirement, get it into the production line

\-We are building this requirement, how much time before completion? 

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




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


\hypertarget{classTask_af8290f7e29c69af76665f03e49a3b5dc}{\index{\-Task@{\-Task}!get\-Earliest\-Start\-Time@{get\-Earliest\-Start\-Time}}
\index{get\-Earliest\-Start\-Time@{get\-Earliest\-Start\-Time}!Task@{\-Task}}
\subsubsection[{get\-Earliest\-Start\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Earliest\-Start\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_af8290f7e29c69af76665f03e49a3b5dc}
\hypertarget{classTask_ac21b825eddd3148495278f44ea9bfc08}{\index{\-Task@{\-Task}!get\-Finish\-Time@{get\-Finish\-Time}}
\index{get\-Finish\-Time@{get\-Finish\-Time}!Task@{\-Task}}
\subsubsection[{get\-Finish\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Finish\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_ac21b825eddd3148495278f44ea9bfc08}
finish time = start time + \hyperlink{classTask_a55f6940c8b7c41cf0f5cad4d92171639}{get\-Time()}, note\-: not accurate for halted constructions \hypertarget{classTask_a88752d30d4dd6a20d914d1cf784d2bcf}{\index{\-Task@{\-Task}!get\-Last\-Order@{get\-Last\-Order}}
\index{get\-Last\-Order@{get\-Last\-Order}!Task@{\-Task}}
\subsubsection[{get\-Last\-Order}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Last\-Order} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a88752d30d4dd6a20d914d1cf784d2bcf}
\hypertarget{classTask_a9fc4824dcd751ac1cecd41de101154c4}{\index{\-Task@{\-Task}!get\-Level@{get\-Level}}
\index{get\-Level@{get\-Level}!Task@{\-Task}}
\subsubsection[{get\-Level}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Level} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a9fc4824dcd751ac1cecd41de101154c4}
\-Level (if upgrade) \hypertarget{classTask_af2659bb81ca9c511e46c2c174db78504}{\index{\-Task@{\-Task}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!Task@{\-Task}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Task\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTask_af2659bb81ca9c511e46c2c174db78504}


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



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


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


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

\hypertarget{classTask_ac11994625f2bd364588c068f8daf72e3}{\index{\-Task@{\-Task}!get\-Race@{get\-Race}}
\index{get\-Race@{get\-Race}!Task@{\-Task}}
\subsubsection[{get\-Race}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Race {\bf \-Task\-::get\-Race} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_ac11994625f2bd364588c068f8daf72e3}
\-Race of the worker type \hypertarget{classTask_abfe497ee594dc50dab912372de9325e8}{\index{\-Task@{\-Task}!get\-Remaining\-Time@{get\-Remaining\-Time}}
\index{get\-Remaining\-Time@{get\-Remaining\-Time}!Task@{\-Task}}
\subsubsection[{get\-Remaining\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Remaining\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_abfe497ee594dc50dab912372de9325e8}
\-Remaining time until this task is complete \hypertarget{classTask_ae85a6d8125bcd0a876283cdc550d12f4}{\index{\-Task@{\-Task}!get\-Required\-Units@{get\-Required\-Units}}
\index{get\-Required\-Units@{get\-Required\-Units}!Task@{\-Task}}
\subsubsection[{get\-Required\-Units}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ \-B\-W\-A\-P\-I\-::\-Unit\-Type, int $>$ {\bf \-Task\-::get\-Required\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_ae85a6d8125bcd0a876283cdc550d12f4}
required\-Units, what\-Researches, or what\-Upgrades \hypertarget{classTask_a9aa7a641be873e88b15361e3bb13f1fc}{\index{\-Task@{\-Task}!get\-Resources@{get\-Resources}}
\index{get\-Resources@{get\-Resources}!Task@{\-Task}}
\subsubsection[{get\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Resources} {\bf \-Task\-::get\-Resources} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a9aa7a641be873e88b15361e3bb13f1fc}
\hypertarget{classTask_aac27c5a14cb291c7dc96a3ce5cb64eca}{\index{\-Task@{\-Task}!get\-Short\-Name@{get\-Short\-Name}}
\index{get\-Short\-Name@{get\-Short\-Name}!Task@{\-Task}}
\subsubsection[{get\-Short\-Name}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf \-Task\-::get\-Short\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTask_aac27c5a14cb291c7dc96a3ce5cb64eca}


\-Reimplemented from \hyperlink{classArbitrator_1_1Controller_a967e48feecb2b3b0a333491302d92fe6}{\-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=308pt]{classTask_aac27c5a14cb291c7dc96a3ce5cb64eca_cgraph}
\end{center}
\end{figure}


\hypertarget{classTask_af72eb65c4fbfbf098b387835caf210f4}{\index{\-Task@{\-Task}!get\-Start\-Time@{get\-Start\-Time}}
\index{get\-Start\-Time@{get\-Start\-Time}!Task@{\-Task}}
\subsubsection[{get\-Start\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Start\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_af72eb65c4fbfbf098b387835caf210f4}
\hypertarget{classTask_a2c1e1204738cba9c8e62974dd9ba40b9}{\index{\-Task@{\-Task}!get\-Tech@{get\-Tech}}
\index{get\-Tech@{get\-Tech}!Task@{\-Task}}
\subsubsection[{get\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Tech\-Type {\bf \-Task\-::get\-Tech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a2c1e1204738cba9c8e62974dd9ba40b9}
\-Returns the \-Tech\-Type if \hyperlink{classTask}{\-Task} is a tech, or \-Tech\-Types\-::\-None \hypertarget{classTask_afb1626b2788b6b89f861ea45442fc8eb}{\index{\-Task@{\-Task}!get\-Tile\-Position@{get\-Tile\-Position}}
\index{get\-Tile\-Position@{get\-Tile\-Position}!Task@{\-Task}}
\subsubsection[{get\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Tile\-Position {\bf \-Task\-::get\-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_afb1626b2788b6b89f861ea45442fc8eb}
\-Tile \-Position (if building/add-\/on) \hypertarget{classTask_a55f6940c8b7c41cf0f5cad4d92171639}{\index{\-Task@{\-Task}!get\-Time@{get\-Time}}
\index{get\-Time@{get\-Time}!Task@{\-Task}}
\subsubsection[{get\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Task\-::get\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a55f6940c8b7c41cf0f5cad4d92171639}
\hypertarget{classTask_aec4da6d002e73b623022fa3556d5cf0f}{\index{\-Task@{\-Task}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!Task@{\-Task}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-Types\-::\-Enum} {\bf \-Task\-::get\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_aec4da6d002e73b623022fa3556d5cf0f}
\hypertarget{classTask_aec4da6d002e73b623022fa3556d5cf0f}{\index{\-Task@{\-Task}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!Task@{\-Task}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task\-Types\-::\-Enum} {\bf \-Task\-::get\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_aec4da6d002e73b623022fa3556d5cf0f}
\hypertarget{classTask_a5154b264a0527a5ad809aa69cd652968}{\index{\-Task@{\-Task}!get\-Unit@{get\-Unit}}
\index{get\-Unit@{get\-Unit}!Task@{\-Task}}
\subsubsection[{get\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Unit\-Type {\bf \-Task\-::get\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a5154b264a0527a5ad809aa69cd652968}
\-Returns \-Unit\-Type if \hyperlink{classTask}{\-Task} is a unit, or \-Unit\-Types\-::\-None \hypertarget{classTask_a94c7c5a5077d56228ab0fa1792a52d76}{\index{\-Task@{\-Task}!get\-Upgrade@{get\-Upgrade}}
\index{get\-Upgrade@{get\-Upgrade}!Task@{\-Task}}
\subsubsection[{get\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Upgrade\-Type {\bf \-Task\-::get\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a94c7c5a5077d56228ab0fa1792a52d76}
\-Returns the \-Upgrade\-Type if \hyperlink{classTask}{\-Task} is an upgrade, or \-Upgrade\-Types\-::\-None \hypertarget{classTask_a6a6eb0844f54c14faae75f03616c6c48}{\index{\-Task@{\-Task}!get\-Verb@{get\-Verb}}
\index{get\-Verb@{get\-Verb}!Task@{\-Task}}
\subsubsection[{get\-Verb}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Task\-::get\-Verb} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a6a6eb0844f54c14faae75f03616c6c48}
\-Build, \-Research, \-Upgrade \hypertarget{classTask_a428c59e78a6a24e8d11478691e0de59f}{\index{\-Task@{\-Task}!get\-Worker\-Type@{get\-Worker\-Type}}
\index{get\-Worker\-Type@{get\-Worker\-Type}!Task@{\-Task}}
\subsubsection[{get\-Worker\-Type}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Unit\-Type {\bf \-Task\-::get\-Worker\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a428c59e78a6a24e8d11478691e0de59f}
what\-Builds, what\-Researches, or what\-Upgrades \hypertarget{classTask_afbd383f81443f20ab3168c73e100fb68}{\index{\-Task@{\-Task}!has\-Reserved\-Finish\-Data\-This\-Frame@{has\-Reserved\-Finish\-Data\-This\-Frame}}
\index{has\-Reserved\-Finish\-Data\-This\-Frame@{has\-Reserved\-Finish\-Data\-This\-Frame}!Task@{\-Task}}
\subsubsection[{has\-Reserved\-Finish\-Data\-This\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::has\-Reserved\-Finish\-Data\-This\-Frame} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_afbd383f81443f20ab3168c73e100fb68}
\hypertarget{classTask_a97749417f5da076520c04edf56f27048}{\index{\-Task@{\-Task}!has\-Reserved\-Resources\-This\-Frame@{has\-Reserved\-Resources\-This\-Frame}}
\index{has\-Reserved\-Resources\-This\-Frame@{has\-Reserved\-Resources\-This\-Frame}!Task@{\-Task}}
\subsubsection[{has\-Reserved\-Resources\-This\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::has\-Reserved\-Resources\-This\-Frame} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a97749417f5da076520c04edf56f27048}
\hypertarget{classTask_a027d9395bdc3f02d4eaed7dcb0164790}{\index{\-Task@{\-Task}!has\-Spent\-Resources@{has\-Spent\-Resources}}
\index{has\-Spent\-Resources@{has\-Spent\-Resources}!Task@{\-Task}}
\subsubsection[{has\-Spent\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::has\-Spent\-Resources} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a027d9395bdc3f02d4eaed7dcb0164790}
\hypertarget{classTask_acf6bd9a209eb3fa44749bfd068af99f5}{\index{\-Task@{\-Task}!init@{init}}
\index{init@{init}!Task@{\-Task}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::init} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTask_acf6bd9a209eb3fa44749bfd068af99f5}


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




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


\hypertarget{classTask_a6e4bc44ed02ffb4e5c839acf9113cdc1}{\index{\-Task@{\-Task}!is\-Being\-Executed\-By@{is\-Being\-Executed\-By}}
\index{is\-Being\-Executed\-By@{is\-Being\-Executed\-By}!Task@{\-Task}}
\subsubsection[{is\-Being\-Executed\-By}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::is\-Being\-Executed\-By} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
) const}}\label{classTask_a6e4bc44ed02ffb4e5c839acf9113cdc1}


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


\hypertarget{classTask_ad2ee62a1496c792163a8329327f5e3db}{\index{\-Task@{\-Task}!is\-Completed@{is\-Completed}}
\index{is\-Completed@{is\-Completed}!Task@{\-Task}}
\subsubsection[{is\-Completed}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::is\-Completed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_ad2ee62a1496c792163a8329327f5e3db}


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


\hypertarget{classTask_a019313d2dfafbbca8020116196df8ca0}{\index{\-Task@{\-Task}!is\-Executing@{is\-Executing}}
\index{is\-Executing@{is\-Executing}!Task@{\-Task}}
\subsubsection[{is\-Executing}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::is\-Executing} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classTask_a019313d2dfafbbca8020116196df8ca0}
\hypertarget{classTask_aa8013289fde3086e1c8816f65ed9298e}{\index{\-Task@{\-Task}!is\-Finished@{is\-Finished}}
\index{is\-Finished@{is\-Finished}!Task@{\-Task}}
\subsubsection[{is\-Finished}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Task\-::is\-Finished} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTask_aa8013289fde3086e1c8816f65ed9298e}
\hypertarget{classTask_a2543785a4d04e234f817a8d434aff94d}{\index{\-Task@{\-Task}!on\-Offer@{on\-Offer}}
\index{on\-Offer@{on\-Offer}!Task@{\-Task}}
\subsubsection[{on\-Offer}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::on\-Offer} (
\begin{DoxyParamCaption}
\item[{std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$}]{units}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTask_a2543785a4d04e234f817a8d434aff94d}


\-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]{classTask_a2543785a4d04e234f817a8d434aff94d_cgraph}
\end{center}
\end{figure}


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


\-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]{classTask_afc227cfebaafcb8017bb8f6008d7c9c5_cgraph}
\end{center}
\end{figure}


\hypertarget{classTask_a5a183869397bea6bc27fc30401bba5b2}{\index{\-Task@{\-Task}!operator!=@{operator!=}}
\index{operator!=@{operator!=}!Task@{\-Task}}
\subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator!= (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{ptr}
\end{DoxyParamCaption}
) const}}\label{classTask_a5a183869397bea6bc27fc30401bba5b2}
\hypertarget{classTask_ad13b757de9cb15f39326bd15417e0064}{\index{\-Task@{\-Task}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!Task@{\-Task}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator$<$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Task} \&}]{t}
\end{DoxyParamCaption}
) const}}\label{classTask_ad13b757de9cb15f39326bd15417e0064}
\hypertarget{classTask_a875c8ca446a90b501de14a7acc9022b6}{\index{\-Task@{\-Task}!operator=@{operator=}}
\index{operator=@{operator=}!Task@{\-Task}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task} \& \-Task\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Task}}]{t}
\end{DoxyParamCaption}
)}}\label{classTask_a875c8ca446a90b501de14a7acc9022b6}
\hypertarget{classTask_aec6eb2742ae54896862301eff01fbb88}{\index{\-Task@{\-Task}!operator==@{operator==}}
\index{operator==@{operator==}!Task@{\-Task}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator== (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{ptr}
\end{DoxyParamCaption}
) const}}\label{classTask_aec6eb2742ae54896862301eff01fbb88}
\hypertarget{classTask_aed787d17be8ac4a0e0cbf74d7da3209f}{\index{\-Task@{\-Task}!operator==@{operator==}}
\index{operator==@{operator==}!Task@{\-Task}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf \-Task} \&}]{t}
\end{DoxyParamCaption}
) const}}\label{classTask_aed787d17be8ac4a0e0cbf74d7da3209f}
\hypertarget{classTask_a0b00f6c6eec035d44b37284c1691ab48}{\index{\-Task@{\-Task}!operator==@{operator==}}
\index{operator==@{operator==}!Task@{\-Task}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator== (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Unit\-Type \&}]{t}
\end{DoxyParamCaption}
) const}}\label{classTask_a0b00f6c6eec035d44b37284c1691ab48}
\hypertarget{classTask_a7e388c883d322b8b79abad4bd9bff5b1}{\index{\-Task@{\-Task}!operator==@{operator==}}
\index{operator==@{operator==}!Task@{\-Task}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator== (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Tech\-Type \&}]{t}
\end{DoxyParamCaption}
) const}}\label{classTask_a7e388c883d322b8b79abad4bd9bff5b1}
\hypertarget{classTask_a4c9256314935b757360f20a40705f44e}{\index{\-Task@{\-Task}!operator==@{operator==}}
\index{operator==@{operator==}!Task@{\-Task}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator== (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Upgrade\-Type \&}]{t}
\end{DoxyParamCaption}
) const}}\label{classTask_a4c9256314935b757360f20a40705f44e}
\hypertarget{classTask_ac37aa27286f932f3c06ebed0b57b5cd4}{\index{\-Task@{\-Task}!operator==@{operator==}}
\index{operator==@{operator==}!Task@{\-Task}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Task\-::operator== (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position \&}]{p}
\end{DoxyParamCaption}
) const}}\label{classTask_ac37aa27286f932f3c06ebed0b57b5cd4}
\hypertarget{classTask_a273044c623acf6207f8eef361146fdb2}{\index{\-Task@{\-Task}!set\-Completed@{set\-Completed}}
\index{set\-Completed@{set\-Completed}!Task@{\-Task}}
\subsubsection[{set\-Completed}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Completed} (
\begin{DoxyParamCaption}
\item[{bool}]{c}
\end{DoxyParamCaption}
)}}\label{classTask_a273044c623acf6207f8eef361146fdb2}
\hypertarget{classTask_a87fd699617baeb92de83117f02a7f6e5}{\index{\-Task@{\-Task}!set\-Earliest\-Start\-Time@{set\-Earliest\-Start\-Time}}
\index{set\-Earliest\-Start\-Time@{set\-Earliest\-Start\-Time}!Task@{\-Task}}
\subsubsection[{set\-Earliest\-Start\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Earliest\-Start\-Time} (
\begin{DoxyParamCaption}
\item[{int}]{time}
\end{DoxyParamCaption}
)}}\label{classTask_a87fd699617baeb92de83117f02a7f6e5}
set/get the earliest start time for this task \hypertarget{classTask_aa623905e83b9a7b1b438bafa6315c1c5}{\index{\-Task@{\-Task}!set\-Executing@{set\-Executing}}
\index{set\-Executing@{set\-Executing}!Task@{\-Task}}
\subsubsection[{set\-Executing}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Executing} (
\begin{DoxyParamCaption}
\item[{bool}]{exec}
\end{DoxyParamCaption}
)}}\label{classTask_aa623905e83b9a7b1b438bafa6315c1c5}
\hypertarget{classTask_a908b1be007b7f931328213a83801e7a7}{\index{\-Task@{\-Task}!set\-Level@{set\-Level}}
\index{set\-Level@{set\-Level}!Task@{\-Task}}
\subsubsection[{set\-Level}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task} \& {\bf \-Task\-::set\-Level} (
\begin{DoxyParamCaption}
\item[{int}]{l}
\end{DoxyParamCaption}
)}}\label{classTask_a908b1be007b7f931328213a83801e7a7}
\hypertarget{classTask_a6bf102fa232f6e4ba9daba3536bf50d0}{\index{\-Task@{\-Task}!set\-Reserved\-Finish\-Data\-This\-Frame@{set\-Reserved\-Finish\-Data\-This\-Frame}}
\index{set\-Reserved\-Finish\-Data\-This\-Frame@{set\-Reserved\-Finish\-Data\-This\-Frame}!Task@{\-Task}}
\subsubsection[{set\-Reserved\-Finish\-Data\-This\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Reserved\-Finish\-Data\-This\-Frame} (
\begin{DoxyParamCaption}
\item[{bool}]{reserved}
\end{DoxyParamCaption}
)}}\label{classTask_a6bf102fa232f6e4ba9daba3536bf50d0}
\hypertarget{classTask_ae8efabf00711e861a4ba2e4f10ab9ef2}{\index{\-Task@{\-Task}!set\-Reserved\-Resources\-This\-Frame@{set\-Reserved\-Resources\-This\-Frame}}
\index{set\-Reserved\-Resources\-This\-Frame@{set\-Reserved\-Resources\-This\-Frame}!Task@{\-Task}}
\subsubsection[{set\-Reserved\-Resources\-This\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Reserved\-Resources\-This\-Frame} (
\begin{DoxyParamCaption}
\item[{bool}]{reserved}
\end{DoxyParamCaption}
)}}\label{classTask_ae8efabf00711e861a4ba2e4f10ab9ef2}
\hypertarget{classTask_a4661ad8e5a7171c5a356c2064da9230f}{\index{\-Task@{\-Task}!set\-Spent\-Resources@{set\-Spent\-Resources}}
\index{set\-Spent\-Resources@{set\-Spent\-Resources}!Task@{\-Task}}
\subsubsection[{set\-Spent\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Spent\-Resources} (
\begin{DoxyParamCaption}
\item[{bool}]{spent}
\end{DoxyParamCaption}
)}}\label{classTask_a4661ad8e5a7171c5a356c2064da9230f}
\hypertarget{classTask_af24697e3907357c506a8626e8374e417}{\index{\-Task@{\-Task}!set\-Start\-Time@{set\-Start\-Time}}
\index{set\-Start\-Time@{set\-Start\-Time}!Task@{\-Task}}
\subsubsection[{set\-Start\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::set\-Start\-Time} (
\begin{DoxyParamCaption}
\item[{int}]{time}
\end{DoxyParamCaption}
)}}\label{classTask_af24697e3907357c506a8626e8374e417}
set/get the actual start time for this task \hypertarget{classTask_a5d046ce60f555300dafb0fe22a1ffc80}{\index{\-Task@{\-Task}!set\-Tile\-Position@{set\-Tile\-Position}}
\index{set\-Tile\-Position@{set\-Tile\-Position}!Task@{\-Task}}
\subsubsection[{set\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task} \& {\bf \-Task\-::set\-Tile\-Position} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p}
\end{DoxyParamCaption}
)}}\label{classTask_a5d046ce60f555300dafb0fe22a1ffc80}
\hypertarget{classTask_a370ca8bffba91a2e9be6427819b69acc}{\index{\-Task@{\-Task}!set\-Type@{set\-Type}}
\index{set\-Type@{set\-Type}!Task@{\-Task}}
\subsubsection[{set\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task} \& {\bf \-Task\-::set\-Type} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Unit\-Type}]{t, }
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}}
\end{DoxyParamCaption}
)}}\label{classTask_a370ca8bffba91a2e9be6427819b69acc}
\hypertarget{classTask_a7bbaa702b707ca6e8343197f7331a8d7}{\index{\-Task@{\-Task}!set\-Type@{set\-Type}}
\index{set\-Type@{set\-Type}!Task@{\-Task}}
\subsubsection[{set\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task} \& {\bf \-Task\-::set\-Type} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Tech\-Type}]{t, }
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}}
\end{DoxyParamCaption}
)}}\label{classTask_a7bbaa702b707ca6e8343197f7331a8d7}
\hypertarget{classTask_a5939a359d2d0fc23dc3f5104affaeca8}{\index{\-Task@{\-Task}!set\-Type@{set\-Type}}
\index{set\-Type@{set\-Type}!Task@{\-Task}}
\subsubsection[{set\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Task} \& {\bf \-Task\-::set\-Type} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Upgrade\-Type}]{t, }
\item[{int}]{l = {\ttfamily -\/1}, }
\item[{const \-B\-W\-A\-P\-I\-::\-Tile\-Position}]{p = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Positions\-::\-None}}}
\end{DoxyParamCaption}
)}}\label{classTask_a5939a359d2d0fc23dc3f5104affaeca8}
\hypertarget{classTask_a4ceb4bba9ac808a61e346031a6beac89}{\index{\-Task@{\-Task}!update@{update}}
\index{update@{update}!Task@{\-Task}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Task\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTask_a4ceb4bba9ac808a61e346031a6beac89}


\-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]{classTask_a4ceb4bba9ac808a61e346031a6beac89_cgraph}
\end{center}
\end{figure}




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classTask_a208b5fb137d5b2daebfb27972e21f406}{\index{\-Task@{\-Task}!building\-Placer@{building\-Placer}}
\index{building\-Placer@{building\-Placer}!Task@{\-Task}}
\subsubsection[{building\-Placer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Sim\-City\-Building\-Placer} $\ast$ {\bf \-Task\-::building\-Placer} = {\bf \-N\-U\-L\-L}\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classTask_a208b5fb137d5b2daebfb27972e21f406}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{Builder_8h}{\-Builder.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{Task_8h}{\-Task.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{Builder_8cpp}{\-Builder.\-cpp}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{Task_8cpp}{\-Task.\-cpp}\end{DoxyCompactItemize}
