\hypertarget{classEUnitsFilter}{\section{\-E\-Units\-Filter \-Class \-Reference}
\label{classEUnitsFilter}\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}}
}


{\ttfamily \#include $<$\-E\-Units\-Filter.\-h$>$}



\-Inheritance diagram for \-E\-Units\-Filter\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{classEUnitsFilter__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-E\-Units\-Filter\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{classEUnitsFilter__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classEUnitsFilter_acc6004927fafac234a21506c518dcb5a}{update} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
void \hyperlink{classEUnitsFilter_adf3f0684b5a8fd98430f2f519564c71d}{filter} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
void \hyperlink{classEUnitsFilter_a1bf483ee876a57cd3ef2f3ca1580021b}{on\-Unit\-Destroy} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
void \hyperlink{classEUnitsFilter_af6d380dc788519a46645376958f79dd3}{on\-Unit\-Morph} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
void \hyperlink{classEUnitsFilter_adce9a01e6ad1c60b0f721b35639d704f}{on\-Unit\-Show} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
void \hyperlink{classEUnitsFilter_ad8fc9cf062fcfd43afc6d529bde76665}{on\-Unit\-Hide} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
void \hyperlink{classEUnitsFilter_a8aa9dbe70be15266db5e9000e8836ae5}{on\-Unit\-Renegade} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
const std\-::map$<$ \-B\-W\-A\-P\-I\-::\-Unit \*
$\ast$, \hyperlink{structEViewedUnit}{\-E\-Viewed\-Unit} $>$ \& \hyperlink{classEUnitsFilter_adec6e3ea5e9f22bba8aee487f8e994a2}{get\-Viewed\-Units} ()
\item 
\hyperlink{structEViewedUnit}{\-E\-Viewed\-Unit} \hyperlink{classEUnitsFilter_a8970be21ed99239f74d57e91446006d1}{get\-Viewed\-Unit} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u)
\item 
int \hyperlink{classEUnitsFilter_a8b0e9afe19efa205b594b9860fe6b61f}{get\-Numbers\-Type} (\-B\-W\-A\-P\-I\-::\-Unit\-Type ut)
\item 
\-B\-W\-A\-P\-I\-::\-Unit $\ast$ \hyperlink{classEUnitsFilter_af78d746ba3789be3aaaba8b4f7aee543}{get\-Closest\-Center} (\-B\-W\-T\-A\-::\-Base\-Location $\ast$b)
\item 
const std\-::map$<$ \-B\-W\-A\-P\-I\-::\-Unit \*
$\ast$, std\-::pair$<$ \-B\-W\-A\-P\-I\-::\-Unit\-Type, \*
\-B\-W\-A\-P\-I\-::\-Position $>$ $>$ \& \hyperlink{classEUnitsFilter_a0fad6baa5e6ef6fcf3343daf1b04c75a}{get\-Invisible\-Units} ()
\item 
bool \hyperlink{classEUnitsFilter_a3e8e4a1651fb965a15dfb05d396d0cb6}{empty} ()
\item 
virtual void \hyperlink{classEUnitsFilter_a9ce71590eb3601a668b7d26b3269e279}{update} ()
\end{DoxyCompactItemize}
\subsection*{\-Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classEUnitsFilter_af94963c4aba51382f465520bbc1ffa0e}{\-C\-Singleton$<$ E\-Units\-Filter $>$}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classEUnitsFilter_a3e8e4a1651fb965a15dfb05d396d0cb6}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!empty@{empty}}
\index{empty@{empty}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{empty}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-E\-Units\-Filter\-::empty} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_a3e8e4a1651fb965a15dfb05d396d0cb6}
\hypertarget{classEUnitsFilter_adf3f0684b5a8fd98430f2f519564c71d}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!filter@{filter}}
\index{filter@{filter}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{filter}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::filter} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_adf3f0684b5a8fd98430f2f519564c71d}


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


\hypertarget{classEUnitsFilter_af78d746ba3789be3aaaba8b4f7aee543}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!get\-Closest\-Center@{get\-Closest\-Center}}
\index{get\-Closest\-Center@{get\-Closest\-Center}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{get\-Closest\-Center}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Unit $\ast$ {\bf \-E\-Units\-Filter\-::get\-Closest\-Center} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Base\-Location $\ast$}]{b}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_af78d746ba3789be3aaaba8b4f7aee543}
\hypertarget{classEUnitsFilter_a0fad6baa5e6ef6fcf3343daf1b04c75a}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!get\-Invisible\-Units@{get\-Invisible\-Units}}
\index{get\-Invisible\-Units@{get\-Invisible\-Units}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{get\-Invisible\-Units}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::map$<$ \-Unit $\ast$, std\-::pair$<$ \-Unit\-Type, \-Position $>$ $>$ \& {\bf \-E\-Units\-Filter\-::get\-Invisible\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_a0fad6baa5e6ef6fcf3343daf1b04c75a}


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


\hypertarget{classEUnitsFilter_a8b0e9afe19efa205b594b9860fe6b61f}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!get\-Numbers\-Type@{get\-Numbers\-Type}}
\index{get\-Numbers\-Type@{get\-Numbers\-Type}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{get\-Numbers\-Type}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-E\-Units\-Filter\-::get\-Numbers\-Type} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{ut}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_a8b0e9afe19efa205b594b9860fe6b61f}


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


\hypertarget{classEUnitsFilter_a8970be21ed99239f74d57e91446006d1}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!get\-Viewed\-Unit@{get\-Viewed\-Unit}}
\index{get\-Viewed\-Unit@{get\-Viewed\-Unit}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{get\-Viewed\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-E\-Viewed\-Unit} {\bf \-E\-Units\-Filter\-::get\-Viewed\-Unit} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_a8970be21ed99239f74d57e91446006d1}


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


\hypertarget{classEUnitsFilter_adec6e3ea5e9f22bba8aee487f8e994a2}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!get\-Viewed\-Units@{get\-Viewed\-Units}}
\index{get\-Viewed\-Units@{get\-Viewed\-Units}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{get\-Viewed\-Units}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::map$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$, {\bf \-E\-Viewed\-Unit} $>$ \& {\bf \-E\-Units\-Filter\-::get\-Viewed\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_adec6e3ea5e9f22bba8aee487f8e994a2}


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


\hypertarget{classEUnitsFilter_a1bf483ee876a57cd3ef2f3ca1580021b}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!on\-Unit\-Destroy@{on\-Unit\-Destroy}}
\index{on\-Unit\-Destroy@{on\-Unit\-Destroy}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{on\-Unit\-Destroy}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::on\-Unit\-Destroy} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_a1bf483ee876a57cd3ef2f3ca1580021b}


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


\hypertarget{classEUnitsFilter_ad8fc9cf062fcfd43afc6d529bde76665}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!on\-Unit\-Hide@{on\-Unit\-Hide}}
\index{on\-Unit\-Hide@{on\-Unit\-Hide}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{on\-Unit\-Hide}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::on\-Unit\-Hide} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_ad8fc9cf062fcfd43afc6d529bde76665}


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


\hypertarget{classEUnitsFilter_af6d380dc788519a46645376958f79dd3}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!on\-Unit\-Morph@{on\-Unit\-Morph}}
\index{on\-Unit\-Morph@{on\-Unit\-Morph}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{on\-Unit\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::on\-Unit\-Morph} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_af6d380dc788519a46645376958f79dd3}


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


\hypertarget{classEUnitsFilter_a8aa9dbe70be15266db5e9000e8836ae5}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!on\-Unit\-Renegade@{on\-Unit\-Renegade}}
\index{on\-Unit\-Renegade@{on\-Unit\-Renegade}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{on\-Unit\-Renegade}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::on\-Unit\-Renegade} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_a8aa9dbe70be15266db5e9000e8836ae5}


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


\hypertarget{classEUnitsFilter_adce9a01e6ad1c60b0f721b35639d704f}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!on\-Unit\-Show@{on\-Unit\-Show}}
\index{on\-Unit\-Show@{on\-Unit\-Show}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{on\-Unit\-Show}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::on\-Unit\-Show} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_adce9a01e6ad1c60b0f721b35639d704f}
\-Spawn defend goals 

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




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


\hypertarget{classEUnitsFilter_acc6004927fafac234a21506c518dcb5a}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!update@{update}}
\index{update@{update}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::update} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
)}}\label{classEUnitsFilter_acc6004927fafac234a21506c518dcb5a}


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


\hypertarget{classEUnitsFilter_a9ce71590eb3601a668b7d26b3269e279}{\index{\-E\-Units\-Filter@{\-E\-Units\-Filter}!update@{update}}
\index{update@{update}!EUnitsFilter@{\-E\-Units\-Filter}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-E\-Units\-Filter\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classEUnitsFilter_a9ce71590eb3601a668b7d26b3269e279}


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


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Intelligence/\hyperlink{EUnitsFilter_8h}{\-E\-Units\-Filter.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Intelligence/\hyperlink{EUnitsFilter_8cpp}{\-E\-Units\-Filter.\-cpp}\end{DoxyCompactItemize}
