\hypertarget{classUnitCompositionProducer}{\section{\-Unit\-Composition\-Producer \-Class \-Reference}
\label{classUnitCompositionProducer}\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}}
}


{\ttfamily \#include $<$\-Unit\-Composition\-Producer.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classUnitCompositionProducer_abbe0e517349e1560f96f9cbdb0fc30b6}{\-Unit\-Composition\-Producer} (\-B\-W\-A\-P\-I\-::\-Unit\-Type worker\-Type)
\item 
virtual void \hyperlink{classUnitCompositionProducer_a9b2b1ac21daded581b90b4d10a3b9aa8}{attached} (\-Task\-Stream $\ast$ts)
\item 
virtual void \hyperlink{classUnitCompositionProducer_a6ca983fc732e3482b0cb7a216522c15c}{detached} (\-Task\-Stream $\ast$ts)
\item 
void \hyperlink{classUnitCompositionProducer_aa3754adf8f94bca9a62bfc0e8bbdd75e}{update} ()
\item 
void \hyperlink{classUnitCompositionProducer_a9384c5674057b20d893bba758ea81cc8}{set\-Unit\-Weight} (\-B\-W\-A\-P\-I\-::\-Unit\-Type t, double weight)
\item 
\-B\-W\-A\-P\-I\-::\-Unit\-Type \hyperlink{classUnitCompositionProducer_a5e34e4321501f0ce37ae7b985092c3f2}{get\-Next\-Unit\-Type} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$worker)
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classUnitCompositionProducer_abbe0e517349e1560f96f9cbdb0fc30b6}{\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}}
\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!UnitCompositionProducer@{\-Unit\-Composition\-Producer}}
\subsubsection[{\-Unit\-Composition\-Producer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Composition\-Producer\-::\-Unit\-Composition\-Producer} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{worker\-Type}
\end{DoxyParamCaption}
)}}\label{classUnitCompositionProducer_abbe0e517349e1560f96f9cbdb0fc30b6}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classUnitCompositionProducer_a9b2b1ac21daded581b90b4d10a3b9aa8}{\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!attached@{attached}}
\index{attached@{attached}!UnitCompositionProducer@{\-Unit\-Composition\-Producer}}
\subsubsection[{attached}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Composition\-Producer\-::attached} (
\begin{DoxyParamCaption}
\item[{\-Task\-Stream $\ast$}]{ts}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classUnitCompositionProducer_a9b2b1ac21daded581b90b4d10a3b9aa8}
\hypertarget{classUnitCompositionProducer_a6ca983fc732e3482b0cb7a216522c15c}{\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!detached@{detached}}
\index{detached@{detached}!UnitCompositionProducer@{\-Unit\-Composition\-Producer}}
\subsubsection[{detached}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Composition\-Producer\-::detached} (
\begin{DoxyParamCaption}
\item[{\-Task\-Stream $\ast$}]{ts}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classUnitCompositionProducer_a6ca983fc732e3482b0cb7a216522c15c}
\hypertarget{classUnitCompositionProducer_a5e34e4321501f0ce37ae7b985092c3f2}{\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!get\-Next\-Unit\-Type@{get\-Next\-Unit\-Type}}
\index{get\-Next\-Unit\-Type@{get\-Next\-Unit\-Type}!UnitCompositionProducer@{\-Unit\-Composition\-Producer}}
\subsubsection[{get\-Next\-Unit\-Type}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit\-Type {\bf \-Unit\-Composition\-Producer\-::get\-Next\-Unit\-Type} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{worker}
\end{DoxyParamCaption}
)}}\label{classUnitCompositionProducer_a5e34e4321501f0ce37ae7b985092c3f2}
\hypertarget{classUnitCompositionProducer_a9384c5674057b20d893bba758ea81cc8}{\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!set\-Unit\-Weight@{set\-Unit\-Weight}}
\index{set\-Unit\-Weight@{set\-Unit\-Weight}!UnitCompositionProducer@{\-Unit\-Composition\-Producer}}
\subsubsection[{set\-Unit\-Weight}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Composition\-Producer\-::set\-Unit\-Weight} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{t, }
\item[{double}]{weight}
\end{DoxyParamCaption}
)}}\label{classUnitCompositionProducer_a9384c5674057b20d893bba758ea81cc8}
\hypertarget{classUnitCompositionProducer_aa3754adf8f94bca9a62bfc0e8bbdd75e}{\index{\-Unit\-Composition\-Producer@{\-Unit\-Composition\-Producer}!update@{update}}
\index{update@{update}!UnitCompositionProducer@{\-Unit\-Composition\-Producer}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Composition\-Producer\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitCompositionProducer_aa3754adf8f94bca9a62bfc0e8bbdd75e}


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




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{UnitCompositionProducer_8h}{\-Unit\-Composition\-Producer.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{UnitCompositionProducer_8cpp}{\-Unit\-Composition\-Producer.\-cpp}\end{DoxyCompactItemize}
