\section{Module\-Manager Class Reference}
\label{class_module_manager}\index{ModuleManager@{ModuleManager}}
Head class of modular system.  


{\tt \#include $<$modulemanager.h$>$}

Inheritance diagram for Module\-Manager::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_module_manager}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
const\_\-iterator {\bf begin} () const 
\item 
const\_\-iterator {\bf end} () const 
\item 
const char $\ast$ {\bf get\-Type} () const 
\begin{CompactList}\small\item\em Return type of class. \item\end{CompactList}\item 
{\bf Ptr}$<$ Tk\-Gui $>$ \& {\bf get\-Gui} ()
\begin{CompactList}\small\item\em return reference to gui \item\end{CompactList}\item 
{\bf Module\-Manager} ({\bf Module\-Type} $\ast$types[$\,$], {\bf Ptr}$<$ Tk\-Gui $>$ \&gui)
\begin{CompactList}\small\item\em ctor \item\end{CompactList}\item 
{\bf Ptr}$<$ {\bf IModule} $>$ \& {\bf get\-Module} (const string \&instance\-Name)
\begin{CompactList}\small\item\em return module of given instance name or empty instance \item\end{CompactList}\item 
{\bf Ptr}$<$ {\bf Module\-Type} $>$ \& {\bf get\-Module\-Type} (const string \&type)
\begin{CompactList}\small\item\em return module type of given name \item\end{CompactList}\item 
void {\bf send\-To\-All} ({\bf TObject} $\ast$mesg)
\begin{CompactList}\small\item\em send message to all module instances (broadcast) \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
static {\bf Ptr}$<$ {\bf Module\-Manager} $>$ {\bf manager}
\begin{CompactList}\small\item\em Hold reference to self. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Head class of modular system. 

Hold module types (algorithm types), provides methods to access them; also contains methods to send messages.

\begin{Desc}
\item[Date:]01-29-2006\end{Desc}
\begin{Desc}
\item[Author:]Ondrej Svejdar\end{Desc}
\begin{Desc}
\item[{\bf Todo}]\end{Desc}
\begin{Desc}
\item[{\bf Bug}]\end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ModuleManager@{Module\-Manager}!ModuleManager@{ModuleManager}}
\index{ModuleManager@{ModuleManager}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Module\-Manager::Module\-Manager ({\bf Module\-Type} $\ast$ {\em types}[$\,$], {\bf Ptr}$<$ Tk\-Gui $>$ \& {\em gui})}\label{class_module_manager_6c6aa2657d178b3e01e9aba3517dca9c}


ctor 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em types\mbox{[}$\,$\mbox{]}}]module types to array, last element MUST be NULL \item[{\em gui}]reference to gui \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\index{ModuleManager@{Module\-Manager}!begin@{begin}}
\index{begin@{begin}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Module\-Manager::const\_\-iterator Module\-Manager::begin () const}\label{class_module_manager_6c34e3a8894af3a2160a3c0baa7e6fad}


\begin{Desc}
\item[Returns:]const\_\-iterator to begining of module type's list \end{Desc}
\index{ModuleManager@{Module\-Manager}!end@{end}}
\index{end@{end}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Module\-Manager::const\_\-iterator Module\-Manager::end () const}\label{class_module_manager_37d6974af8ee6af64f7b4f71330853cb}


\begin{Desc}
\item[Returns:]const\_\-iterator to ending of module type's list \end{Desc}
\index{ModuleManager@{Module\-Manager}!getGui@{getGui}}
\index{getGui@{getGui}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ptr}$<$Tk\-Gui$>$\& Module\-Manager::get\-Gui ()\hspace{0.3cm}{\tt  [inline]}}\label{class_module_manager_355fd31596e059646e2254fef51fc343}


return reference to gui 

\begin{Desc}
\item[Returns:]reference to gui \end{Desc}
\index{ModuleManager@{Module\-Manager}!getModule@{getModule}}
\index{getModule@{getModule}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ptr}$<$ {\bf IModule} $>$ \& Module\-Manager::get\-Module (const string \& {\em instance\-Name})}\label{class_module_manager_229d0e3be4c18194adf0f3b50eebba36}


return module of given instance name or empty instance 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em instance\-Name}]name of instance \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]reference to module instance \end{Desc}
\index{ModuleManager@{Module\-Manager}!getModuleType@{getModuleType}}
\index{getModuleType@{getModuleType}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ptr}$<$ {\bf Module\-Type} $>$ \& Module\-Manager::get\-Module\-Type (const string \& {\em type})}\label{class_module_manager_ac5066ebb3bfc98fff832ab3257c9d2d}


return module type of given name 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em type}]name of module type \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]reference to module type \end{Desc}
\index{ModuleManager@{Module\-Manager}!getType@{getType}}
\index{getType@{getType}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Module\-Manager::get\-Type () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_module_manager_1413702cbda682553d02b08afccebfc3}


Return type of class. 

\begin{Desc}
\item[Returns:]type of class \end{Desc}


Reimplemented from {\bf TObject} {\rm (p.\,\pageref{class_t_object_1413702cbda682553d02b08afccebfc3})}.\index{ModuleManager@{Module\-Manager}!sendToAll@{sendToAll}}
\index{sendToAll@{sendToAll}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Module\-Manager::send\-To\-All ({\bf TObject} $\ast$ {\em mesg})}\label{class_module_manager_a4822b2e4e8f286b5b055ce5c0a98414}


send message to all module instances (broadcast) 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em mesg}]message \end{description}
\end{Desc}


\subsection{Member Data Documentation}
\index{ModuleManager@{Module\-Manager}!manager@{manager}}
\index{manager@{manager}!ModuleManager@{Module\-Manager}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ptr}$<$ {\bf Module\-Manager} $>$ {\bf Module\-Manager::manager}\hspace{0.3cm}{\tt  [static]}}\label{class_module_manager_1d0258c2440a8d19e716292b231e3190}


Hold reference to self. 

Currently, there is only one modular manager. Can change in future. 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
H:/projs/dot\-NET/eda/src/modulemanager/modulemanager.h\item 
H:/projs/dot\-NET/eda/src/modulemanager/modulemanager.cpp\end{CompactItemize}
