\section{lccd\-:\-:L\-C\-Conditions\-Mgr Class Reference}
\label{classlccd_1_1LCConditionsMgr}\index{lccd\-::\-L\-C\-Conditions\-Mgr@{lccd\-::\-L\-C\-Conditions\-Mgr}}


Manager for \doxyref{I\-Conditions\-Handler}{p.}{classlccd_1_1IConditionsHandler} objects.  




{\ttfamily \#include $<$L\-C\-Conditions\-Mgr.\-hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf register\-Change\-Listener} ({\bf I\-Conditions\-Change\-Listener} $\ast$cl, const std\-::string \&name)
\begin{DoxyCompactList}\small\item\em Register a change listener with the conditions handler 'name'. \end{DoxyCompactList}\item 
void {\bf register\-Handler} (const std\-::string \&name, {\bf I\-Conditions\-Handler} $\ast$handler)\label{classlccd_1_1LCConditionsMgr_a1271b4cadac2b3928ba9709328600d8c}

\begin{DoxyCompactList}\small\item\em Register a handler with the given type name. \end{DoxyCompactList}\item 
void {\bf remove\-Handler} (const std\-::string \&name)\label{classlccd_1_1LCConditionsMgr_ac371bb8192d7bac7ca37441d87e0af71}

\begin{DoxyCompactList}\small\item\em Remove the handler with the given name. \end{DoxyCompactList}\item 
{\bf I\-Conditions\-Handler} $\ast$ {\bf get\-Handler} (const std\-::string \&name)\label{classlccd_1_1LCConditionsMgr_aff019e408440a9c9f5d97064bb757c78}

\begin{DoxyCompactList}\small\item\em Returns the handler for the given name -\/ Null if not registered. \end{DoxyCompactList}\item 
void {\bf update\-Event} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classlccd_1_1LCConditionsMgr_abb8586734975ab8c6da9d196e4841210}

\begin{DoxyCompactList}\small\item\em Call \doxyref{I\-Conditions\-Handler\-::update\-Event()}{p.}{classlccd_1_1IConditionsHandler_af358f80aaaaaf469d612dc93ea2d813e} for all registered handlers. \end{DoxyCompactList}\item 
void {\bf update} ({\bf L\-C\-C\-D\-Time\-Stamp} timestamp)\label{classlccd_1_1LCConditionsMgr_aed927a56644b579f5da1e93c9f461621}

\begin{DoxyCompactList}\small\item\em Call \doxyref{I\-Conditions\-Handler\-::update()}{p.}{classlccd_1_1IConditionsHandler_afc5cb44b3b44e82358315314137f447e} for all registered handlers. \end{DoxyCompactList}\item 
void {\bf clear} ()\label{classlccd_1_1LCConditionsMgr_a76199bc676f487b26c0b4f25c799e909}

\begin{DoxyCompactList}\small\item\em Clear the map and delete all handlers. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static {\bf L\-C\-Conditions\-Mgr} $\ast$ {\bf instance} ()\label{classlccd_1_1LCConditionsMgr_a14f4c6c03ca3ccd7fc7de13fff02effa}

\begin{DoxyCompactList}\small\item\em The instance of this manager class. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Manager for \doxyref{I\-Conditions\-Handler}{p.}{classlccd_1_1IConditionsHandler} objects. 

\par
 Can be used to keep all conditions handler objects in an aplication in one place and treat them through a common interface, e.\-g. call \doxyref{I\-Conditions\-Handler\-::update\-Event()}{p.}{classlccd_1_1IConditionsHandler_af358f80aaaaaf469d612dc93ea2d813e}.

Singleton.

\begin{DoxyAuthor}{Author}
F.\-Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{L\-C\-Conditions\-Mgr.\-hh}{p.}{LCConditionsMgr_8hh_source},v 1.\-2 2007-\/04-\/27 13\-:21\-:31 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{lccd\-::\-L\-C\-Conditions\-Mgr@{lccd\-::\-L\-C\-Conditions\-Mgr}!register\-Change\-Listener@{register\-Change\-Listener}}
\index{register\-Change\-Listener@{register\-Change\-Listener}!lccd::LCConditionsMgr@{lccd\-::\-L\-C\-Conditions\-Mgr}}
\subsubsection[{register\-Change\-Listener}]{\setlength{\rightskip}{0pt plus 5cm}void lccd\-::\-L\-C\-Conditions\-Mgr\-::register\-Change\-Listener (
\begin{DoxyParamCaption}
\item[{{\bf I\-Conditions\-Change\-Listener} $\ast$}]{cl, }
\item[{const std\-::string \&}]{name}
\end{DoxyParamCaption}
)}\label{classlccd_1_1LCConditionsMgr_a4f906a26f4f918c593f8445c7daab618}


Register a change listener with the conditions handler 'name'. 

Throws an exception if no handler with the given name has been registered before. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
L\-C\-Conditions\-Mgr.\-hh\item 
L\-C\-Conditions\-Mgr.\-cc\end{DoxyCompactItemize}
