\hypertarget{classOrderItem}{\section{\-Order\-Item \-Class \-Reference}
\label{classOrderItem}\index{\-Order\-Item@{\-Order\-Item}}
}


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



\-Collaboration diagram for \-Order\-Item\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classOrderItem__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classOrderItem_ae965c9e3bcf9676475eb0a9576223e65}{\-Order\-Item} (\hyperlink{BuildOrder_8h_aa8186475cd2334921cc493daaf06f47b}{\-Order} type, int \-I\-D, const std\-::list$<$ \hyperlink{classCallBack}{\-Call\-Back} $>$ \&call\-Backs)
\item 
\hyperlink{BuildOrder_8h_aa8186475cd2334921cc493daaf06f47b}{\-Order} \hyperlink{classOrderItem_a02a3d9f008e8d49007a2e4ea0f04740b}{get\-Type} () const 
\item 
int \hyperlink{classOrderItem_a4e4d444ad1159c326abbe43578af7f2a}{get\-I\-D} () const 
\item 
bool \hyperlink{classOrderItem_a53ba263917bffb3f724994c6fa4859f6}{is\-Fulfilled} () const 
\item 
void \hyperlink{classOrderItem_aede02059872a6d3f8d522b920c1be57d}{remove\-Callback} (int build\-I\-D, \hyperlink{BuildOrder_8h_a7d8e3661c946d552a654973d67fe53ad}{\-Call\-Back\-Type} callback\-Type)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{BuildOrder_8h_aa8186475cd2334921cc493daaf06f47b}{\-Order} \hyperlink{classOrderItem_af40e64487836b68e80023032ae42d50d}{m\-Type}
\item 
int \hyperlink{classOrderItem_a85a4765d4f045e57578cfac0bc07cb06}{m\-I\-D}
\item 
std\-::list$<$ \hyperlink{classCallBack}{\-Call\-Back} $>$ \hyperlink{classOrderItem_a69cebe46e9f50d0b42431c7f0a00fdd9}{m\-Callbacks}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 161 of file \-Build\-Order.\-h.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classOrderItem_ae965c9e3bcf9676475eb0a9576223e65}{\index{\-Order\-Item@{\-Order\-Item}!\-Order\-Item@{\-Order\-Item}}
\index{\-Order\-Item@{\-Order\-Item}!OrderItem@{\-Order\-Item}}
\subsubsection[{\-Order\-Item}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Order\-Item\-::\-Order\-Item} (
\begin{DoxyParamCaption}
\item[{{\bf \-Order}}]{type, }
\item[{int}]{\-I\-D, }
\item[{const std\-::list$<$ {\bf \-Call\-Back} $>$ \&}]{call\-Backs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classOrderItem_ae965c9e3bcf9676475eb0a9576223e65}


\-Definition at line 164 of file \-Build\-Order.\-h.


\begin{DoxyCode}
                : mType(type)
                , mID(ID)
                , mCallbacks(callBacks)
        {}
\end{DoxyCode}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classOrderItem_a4e4d444ad1159c326abbe43578af7f2a}{\index{\-Order\-Item@{\-Order\-Item}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!OrderItem@{\-Order\-Item}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Order\-Item\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classOrderItem_a4e4d444ad1159c326abbe43578af7f2a}


\-Definition at line 171 of file \-Build\-Order.\-h.



\-References m\-I\-D.


\begin{DoxyCode}
{ return mID; }
\end{DoxyCode}
\hypertarget{classOrderItem_a02a3d9f008e8d49007a2e4ea0f04740b}{\index{\-Order\-Item@{\-Order\-Item}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!OrderItem@{\-Order\-Item}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Order} {\bf \-Order\-Item\-::get\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classOrderItem_a02a3d9f008e8d49007a2e4ea0f04740b}


\-Definition at line 170 of file \-Build\-Order.\-h.



\-References m\-Type.



\-Referenced by \-Build\-Order\-Manager\-Class\-::handle\-Order\-Item().


\begin{DoxyCode}
{ return mType; }
\end{DoxyCode}


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


\hypertarget{classOrderItem_a53ba263917bffb3f724994c6fa4859f6}{\index{\-Order\-Item@{\-Order\-Item}!is\-Fulfilled@{is\-Fulfilled}}
\index{is\-Fulfilled@{is\-Fulfilled}!OrderItem@{\-Order\-Item}}
\subsubsection[{is\-Fulfilled}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Order\-Item\-::is\-Fulfilled} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classOrderItem_a53ba263917bffb3f724994c6fa4859f6}


\-Definition at line 173 of file \-Build\-Order.\-h.



\-References m\-Callbacks.



\-Referenced by \-Build\-Order\-Manager\-Class\-::change\-Current\-Build().


\begin{DoxyCode}
{ return mCallbacks.empty(); }
\end{DoxyCode}


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


\hypertarget{classOrderItem_aede02059872a6d3f8d522b920c1be57d}{\index{\-Order\-Item@{\-Order\-Item}!remove\-Callback@{remove\-Callback}}
\index{remove\-Callback@{remove\-Callback}!OrderItem@{\-Order\-Item}}
\subsubsection[{remove\-Callback}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Order\-Item\-::remove\-Callback} (
\begin{DoxyParamCaption}
\item[{int}]{build\-I\-D, }
\item[{{\bf \-Call\-Back\-Type}}]{callback\-Type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classOrderItem_aede02059872a6d3f8d522b920c1be57d}


\-Definition at line 175 of file \-Build\-Order.\-h.



\-References m\-Callbacks.


\begin{DoxyCode}
        {
                for(std::list<CallBack>::iterator callback = mCallbacks.begin()
      ; callback != mCallbacks.end();)
                {
                        if(callback->getID() == buildID && callback->getType() 
      == callbackType)
                                mCallbacks.erase(callback++);
                        else
                                ++callback;
                }
        }
\end{DoxyCode}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classOrderItem_a69cebe46e9f50d0b42431c7f0a00fdd9}{\index{\-Order\-Item@{\-Order\-Item}!m\-Callbacks@{m\-Callbacks}}
\index{m\-Callbacks@{m\-Callbacks}!OrderItem@{\-Order\-Item}}
\subsubsection[{m\-Callbacks}]{\setlength{\rightskip}{0pt plus 5cm}std\-::list$<${\bf \-Call\-Back}$>$ {\bf \-Order\-Item\-::m\-Callbacks}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classOrderItem_a69cebe46e9f50d0b42431c7f0a00fdd9}


\-Definition at line 190 of file \-Build\-Order.\-h.



\-Referenced by is\-Fulfilled(), and remove\-Callback().

\hypertarget{classOrderItem_a85a4765d4f045e57578cfac0bc07cb06}{\index{\-Order\-Item@{\-Order\-Item}!m\-I\-D@{m\-I\-D}}
\index{m\-I\-D@{m\-I\-D}!OrderItem@{\-Order\-Item}}
\subsubsection[{m\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Order\-Item\-::m\-I\-D}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classOrderItem_a85a4765d4f045e57578cfac0bc07cb06}


\-Definition at line 188 of file \-Build\-Order.\-h.



\-Referenced by get\-I\-D().

\hypertarget{classOrderItem_af40e64487836b68e80023032ae42d50d}{\index{\-Order\-Item@{\-Order\-Item}!m\-Type@{m\-Type}}
\index{m\-Type@{m\-Type}!OrderItem@{\-Order\-Item}}
\subsubsection[{m\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Order} {\bf \-Order\-Item\-::m\-Type}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classOrderItem_af40e64487836b68e80023032ae42d50d}


\-Definition at line 187 of file \-Build\-Order.\-h.



\-Referenced by get\-Type().



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-Skynet/\-Skynet/\hyperlink{BuildOrder_8h}{\-Build\-Order.\-h}\end{DoxyCompactItemize}
