\hypertarget{Common_8cpp}{\section{\-Example\-A\-I\-Module/\-Source/\-Common.cpp \-File \-Reference}
\label{Common_8cpp}\index{\-Example\-A\-I\-Module/\-Source/\-Common.\-cpp@{\-Example\-A\-I\-Module/\-Source/\-Common.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-Common.\-h\char`\"{}}\*
{\ttfamily \#include $<$math.\-h$>$}\*
\-Include dependency graph for \-Common.\-cpp\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Common_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{Common_8cpp_ae71449b1cc6e6250b91f539153a7a0d3}{\-M\-\_\-\-P\-I}~3.\-14159265358979323846
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} \hyperlink{Common_8cpp_a80548455fef2e197a7218099893e60ba}{rotate\-Position} (int degree, \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} position, \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} origen)
\item 
\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} \hyperlink{Common_8cpp_ac0efa47a080516cc1186dfc4f56fbd71}{get\-Position\-In\-Direction} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} origen, \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} direction, int distance)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
std\-::ofstream \hyperlink{Common_8cpp_ac652a0df4d077cdc72358369d50644c2}{file\-Log}
\item 
\hyperlink{classInformationManager}{\-Information\-Manager} $\ast$ \hyperlink{Common_8cpp_a4ff23d8fbcd5c244dbd86f959ae0a65f}{information\-Manager}
\item 
\hyperlink{classWorkerManager}{\-Worker\-Manager} $\ast$ \hyperlink{Common_8cpp_a0a48567af226fde601fe2232b4c7caf2}{worker\-Manager}
\item 
\hyperlink{classSquadManager}{\-Squad\-Manager} $\ast$ \hyperlink{Common_8cpp_af7cb398bab42c608b463b94046f86785}{squad\-Manager}
\item 
\hyperlink{classBuildManager}{\-Build\-Manager} $\ast$ \hyperlink{Common_8cpp_a55b3cc44349eb9b62a780e48cc2dc73e}{build\-Manager}
\item 
bool \hyperlink{Common_8cpp_a4b0cfcbdfcbb78b72ef523bef36496de}{\-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O}
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{Common_8cpp_ae71449b1cc6e6250b91f539153a7a0d3}{\index{\-Common.\-cpp@{\-Common.\-cpp}!\-M\-\_\-\-P\-I@{\-M\-\_\-\-P\-I}}
\index{\-M\-\_\-\-P\-I@{\-M\-\_\-\-P\-I}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{\-M\-\_\-\-P\-I}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-M\-\_\-\-P\-I}~3.\-14159265358979323846}}\label{Common_8cpp_ae71449b1cc6e6250b91f539153a7a0d3}


\subsection{\-Function \-Documentation}
\hypertarget{Common_8cpp_ac0efa47a080516cc1186dfc4f56fbd71}{\index{\-Common.\-cpp@{\-Common.\-cpp}!get\-Position\-In\-Direction@{get\-Position\-In\-Direction}}
\index{get\-Position\-In\-Direction@{get\-Position\-In\-Direction}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{get\-Position\-In\-Direction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Position} {\bf get\-Position\-In\-Direction} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{origen, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{direction, }
\item[{int}]{distance}
\end{DoxyParamCaption}
)}}\label{Common_8cpp_ac0efa47a080516cc1186dfc4f56fbd71}


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




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


\hypertarget{Common_8cpp_a80548455fef2e197a7218099893e60ba}{\index{\-Common.\-cpp@{\-Common.\-cpp}!rotate\-Position@{rotate\-Position}}
\index{rotate\-Position@{rotate\-Position}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{rotate\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Position} {\bf rotate\-Position} (
\begin{DoxyParamCaption}
\item[{int}]{degree, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{position, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{origen}
\end{DoxyParamCaption}
)}}\label{Common_8cpp_a80548455fef2e197a7218099893e60ba}


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




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




\subsection{\-Variable \-Documentation}
\hypertarget{Common_8cpp_a55b3cc44349eb9b62a780e48cc2dc73e}{\index{\-Common.\-cpp@{\-Common.\-cpp}!build\-Manager@{build\-Manager}}
\index{build\-Manager@{build\-Manager}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{build\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Build\-Manager}$\ast$ {\bf build\-Manager}}}\label{Common_8cpp_a55b3cc44349eb9b62a780e48cc2dc73e}
\hypertarget{Common_8cpp_ac652a0df4d077cdc72358369d50644c2}{\index{\-Common.\-cpp@{\-Common.\-cpp}!file\-Log@{file\-Log}}
\index{file\-Log@{file\-Log}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{file\-Log}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ofstream {\bf file\-Log}}}\label{Common_8cpp_ac652a0df4d077cdc72358369d50644c2}
\hypertarget{Common_8cpp_a4ff23d8fbcd5c244dbd86f959ae0a65f}{\index{\-Common.\-cpp@{\-Common.\-cpp}!information\-Manager@{information\-Manager}}
\index{information\-Manager@{information\-Manager}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{information\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Information\-Manager}$\ast$ {\bf information\-Manager}}}\label{Common_8cpp_a4ff23d8fbcd5c244dbd86f959ae0a65f}
\hypertarget{Common_8cpp_a4b0cfcbdfcbb78b72ef523bef36496de}{\index{\-Common.\-cpp@{\-Common.\-cpp}!\-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O@{\-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O}}
\index{\-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O@{\-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{\-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-O\-N\-L\-Y\-\_\-\-M\-I\-C\-R\-O}}}\label{Common_8cpp_a4b0cfcbdfcbb78b72ef523bef36496de}
\hypertarget{Common_8cpp_af7cb398bab42c608b463b94046f86785}{\index{\-Common.\-cpp@{\-Common.\-cpp}!squad\-Manager@{squad\-Manager}}
\index{squad\-Manager@{squad\-Manager}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{squad\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Squad\-Manager}$\ast$ {\bf squad\-Manager}}}\label{Common_8cpp_af7cb398bab42c608b463b94046f86785}
\hypertarget{Common_8cpp_a0a48567af226fde601fe2232b4c7caf2}{\index{\-Common.\-cpp@{\-Common.\-cpp}!worker\-Manager@{worker\-Manager}}
\index{worker\-Manager@{worker\-Manager}!Common.cpp@{\-Common.\-cpp}}
\subsubsection[{worker\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Worker\-Manager}$\ast$ {\bf worker\-Manager}}}\label{Common_8cpp_a0a48567af226fde601fe2232b4c7caf2}
