\hypertarget{classaithread}{\section{aithread \-Class \-Reference}
\label{classaithread}\index{aithread@{aithread}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classaithread_a5b7bbfb6dc48a9f7f5f4d59fb9943692}{aithread} ()
\item 
\hyperlink{classaithread_a588c34fdae1635d1959c944ecece0123}{aithread} (\hyperlink{Types_8h_a197942eefa7db30960ae396d68339b97}{\-W\-O\-R\-D} w\-Start\-Block, \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} location, void $\ast$town=\hyperlink{Types_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{\-N\-U\-L\-L})
\item 
\hyperlink{classaithread_ad4bf7a3b3b3ac8db4a1d5d2b76e50e2b}{$\sim$aithread} ()
\item 
{\footnotesize template$<$class \-\_\-\-T $>$ }\\\-\_\-\-T \hyperlink{classaithread_a6a1a3078e21dbfe2cc61469ad85a16fc}{read} ()
\item 
void \hyperlink{classaithread_ac3163a7c59a7b5b0718873017e6b71fe}{execute} ()
\item 
\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} \hyperlink{classaithread_a2860d9ff249ca946105a922ee5b2b915}{get\-Flags} ()
\item 
void \hyperlink{classaithread_a8d5fb232ab8c5d51120bff0949270bfe}{set\-Flags} (\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} dw\-Flags)
\item 
void \hyperlink{classaithread_af8660157ae1ee7cc95e10a57ad4da968}{clear\-Flags} (\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} dw\-Flags)
\item 
\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} \hyperlink{classaithread_a792ae58341bcffde90c7d7c3e3f52c0d}{sleep} ()
\item 
void \hyperlink{classaithread_ac1a6474c3a18c9ee66f010c072f2ddee}{kill\-Thread} ()
\item 
void \hyperlink{classaithread_a62bb3249f0accf3435f2267feb6a65a7}{show\-Debug} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_a2e2ad199e293564b2c8eab0073490c88}{y})
\item 
void \hyperlink{classaithread_ab81f7722f958646baecd4c3556bfaa72}{save\-Debug} (const char $\ast$prefix, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} i\-Opcode, const char $\ast$psz\-Format=\hyperlink{Types_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{\-N\-U\-L\-L},...)
\item 
void \hyperlink{classaithread_a2d361824c6a1f63a429a0d82fcd27c73}{retry} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classaithread_a5b7bbfb6dc48a9f7f5f4d59fb9943692}{\index{aithread@{aithread}!aithread@{aithread}}
\index{aithread@{aithread}!aithread@{aithread}}
\subsubsection[{aithread}]{\setlength{\rightskip}{0pt plus 5cm}{\bf aithread\-::aithread} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_a5b7bbfb6dc48a9f7f5f4d59fb9943692}
\hypertarget{classaithread_a588c34fdae1635d1959c944ecece0123}{\index{aithread@{aithread}!aithread@{aithread}}
\index{aithread@{aithread}!aithread@{aithread}}
\subsubsection[{aithread}]{\setlength{\rightskip}{0pt plus 5cm}{\bf aithread\-::aithread} (
\begin{DoxyParamCaption}
\item[{{\bf \-W\-O\-R\-D}}]{w\-Start\-Block, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{location, }
\item[{void $\ast$}]{town = {\ttfamily {\bf \-N\-U\-L\-L}}}
\end{DoxyParamCaption}
)}}\label{classaithread_a588c34fdae1635d1959c944ecece0123}


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


\hypertarget{classaithread_ad4bf7a3b3b3ac8db4a1d5d2b76e50e2b}{\index{aithread@{aithread}!$\sim$aithread@{$\sim$aithread}}
\index{$\sim$aithread@{$\sim$aithread}!aithread@{aithread}}
\subsubsection[{$\sim$aithread}]{\setlength{\rightskip}{0pt plus 5cm}{\bf aithread\-::$\sim$aithread} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_ad4bf7a3b3b3ac8db4a1d5d2b76e50e2b}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classaithread_af8660157ae1ee7cc95e10a57ad4da968}{\index{aithread@{aithread}!clear\-Flags@{clear\-Flags}}
\index{clear\-Flags@{clear\-Flags}!aithread@{aithread}}
\subsubsection[{clear\-Flags}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::clear\-Flags} (
\begin{DoxyParamCaption}
\item[{{\bf \-D\-W\-O\-R\-D}}]{dw\-Flags}
\end{DoxyParamCaption}
)}}\label{classaithread_af8660157ae1ee7cc95e10a57ad4da968}
\hypertarget{classaithread_ac3163a7c59a7b5b0718873017e6b71fe}{\index{aithread@{aithread}!execute@{execute}}
\index{execute@{execute}!aithread@{aithread}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::execute} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_ac3163a7c59a7b5b0718873017e6b71fe}


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


\hypertarget{classaithread_a2860d9ff249ca946105a922ee5b2b915}{\index{aithread@{aithread}!get\-Flags@{get\-Flags}}
\index{get\-Flags@{get\-Flags}!aithread@{aithread}}
\subsubsection[{get\-Flags}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-D\-W\-O\-R\-D} {\bf aithread\-::get\-Flags} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_a2860d9ff249ca946105a922ee5b2b915}
\hypertarget{classaithread_ac1a6474c3a18c9ee66f010c072f2ddee}{\index{aithread@{aithread}!kill\-Thread@{kill\-Thread}}
\index{kill\-Thread@{kill\-Thread}!aithread@{aithread}}
\subsubsection[{kill\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::kill\-Thread} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_ac1a6474c3a18c9ee66f010c072f2ddee}


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




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


\hypertarget{classaithread_a6a1a3078e21dbfe2cc61469ad85a16fc}{\index{aithread@{aithread}!read@{read}}
\index{read@{read}!aithread@{aithread}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class \-\_\-\-T $>$ \-\_\-\-T {\bf aithread\-::read} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classaithread_a6a1a3078e21dbfe2cc61469ad85a16fc}
\hypertarget{classaithread_a2d361824c6a1f63a429a0d82fcd27c73}{\index{aithread@{aithread}!retry@{retry}}
\index{retry@{retry}!aithread@{aithread}}
\subsubsection[{retry}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::retry} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_a2d361824c6a1f63a429a0d82fcd27c73}


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


\hypertarget{classaithread_ab81f7722f958646baecd4c3556bfaa72}{\index{aithread@{aithread}!save\-Debug@{save\-Debug}}
\index{save\-Debug@{save\-Debug}!aithread@{aithread}}
\subsubsection[{save\-Debug}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::save\-Debug} (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{prefix, }
\item[{{\bf int}}]{i\-Opcode, }
\item[{const char $\ast$}]{psz\-Format = {\ttfamily {\bf \-N\-U\-L\-L}}, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{classaithread_ab81f7722f958646baecd4c3556bfaa72}


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




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


\hypertarget{classaithread_a8d5fb232ab8c5d51120bff0949270bfe}{\index{aithread@{aithread}!set\-Flags@{set\-Flags}}
\index{set\-Flags@{set\-Flags}!aithread@{aithread}}
\subsubsection[{set\-Flags}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::set\-Flags} (
\begin{DoxyParamCaption}
\item[{{\bf \-D\-W\-O\-R\-D}}]{dw\-Flags}
\end{DoxyParamCaption}
)}}\label{classaithread_a8d5fb232ab8c5d51120bff0949270bfe}


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


\hypertarget{classaithread_a62bb3249f0accf3435f2267feb6a65a7}{\index{aithread@{aithread}!show\-Debug@{show\-Debug}}
\index{show\-Debug@{show\-Debug}!aithread@{aithread}}
\subsubsection[{show\-Debug}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf aithread\-::show\-Debug} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{x, }
\item[{{\bf int}}]{y}
\end{DoxyParamCaption}
)}}\label{classaithread_a62bb3249f0accf3435f2267feb6a65a7}


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


\hypertarget{classaithread_a792ae58341bcffde90c7d7c3e3f52c0d}{\index{aithread@{aithread}!sleep@{sleep}}
\index{sleep@{sleep}!aithread@{aithread}}
\subsubsection[{sleep}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-D\-W\-O\-R\-D} {\bf aithread\-::sleep} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classaithread_a792ae58341bcffde90c7d7c3e3f52c0d}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-B\-W\-Script\-Emulator/\hyperlink{ScriptThread_8h}{\-Script\-Thread.\-h}\item 
trunk/bwapi/\-B\-W\-Script\-Emulator/\hyperlink{ScriptThread_8cpp}{\-Script\-Thread.\-cpp}\end{DoxyCompactItemize}
