<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{marlin\-:\-:Conditions\-Processor Class Reference}
\label{classmarlin_1_1ConditionsProcessor}\index{marlin\-::\-Conditions\-Processor@{marlin\-::\-Conditions\-Processor}}


\doxyref{Processor}{p.}{classmarlin_1_1Processor} that provides access to conditions data in a Marlin application.  




{\ttfamily \#include $&lt;$Conditions\-Processor.\-h$&gt;$}

Inheritance diagram for marlin\-:\-:Conditions\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlin_1_1ConditionsProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf Processor} $\ast$ {\bf new\-Processor} ()
\begin{DoxyCompactList}\small\item\em Return a new instance of the processor. \end{DoxyCompactList}\item 
virtual void {\bf init} ()\label{classmarlin_1_1ConditionsProcessor_a59a9c9ae25df88a4ebc29fae75c208ff}

\begin{DoxyCompactList}\small\item\em Initializes conditions handlers as defined in the steering file. \end{DoxyCompactList}\item 
virtual void {\bf process\-Event} (L\-C\-Event $\ast$evt)
\begin{DoxyCompactList}\small\item\em Called for every run. \end{DoxyCompactList}\item 
virtual void {\bf end} ()\label{classmarlin_1_1ConditionsProcessor_a7ba39b4333992122b8e129b598e38ed4}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool {\bf register\-Change\-Listener} (lccd\-::\-I\-Conditions\-Change\-Listener $\ast$cl, const std\-::string \&amp;{\bf name})
\begin{DoxyCompactList}\small\item\em Registers an I\-Conditions\-Change\-Listener, e.\-g. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-db\-Init}\label{classmarlin_1_1ConditionsProcessor_a56928f694689964f952cdde19476d7eb}

\begin{DoxyCompactList}\small\item\em Default database init string. \end{DoxyCompactList}\item 
String\-Vec {\bf \-\_\-simple\-Handler\-Init}\label{classmarlin_1_1ConditionsProcessor_abf0c97570af34a1aaa42123f7051b837}

\begin{DoxyCompactList}\small\item\em initialization of Simple\-File\-Handlers \end{DoxyCompactList}\item 
String\-Vec {\bf \-\_\-dbcond\-Handler\-Init}\label{classmarlin_1_1ConditionsProcessor_a4581a4c1001fafc89b4461af8640b2f7}

\begin{DoxyCompactList}\small\item\em initialization of D\-B\-Cond\-Handlers \end{DoxyCompactList}\item 
String\-Vec {\bf \-\_\-dbfile\-Handler\-Init}\label{classmarlin_1_1ConditionsProcessor_aa4677b1d377bd010532c536ee96fba13}

\begin{DoxyCompactList}\small\item\em initialization of D\-B\-File\-Handlers \end{DoxyCompactList}\item 
String\-Vec {\bf \-\_\-datafile\-Handler\-Init}\label{classmarlin_1_1ConditionsProcessor_a5ae037eb5019e8a9abaaef24b6f0aec0}

\begin{DoxyCompactList}\small\item\em initialization of Data\-File\-Handlers \end{DoxyCompactList}\item 
String\-Vec {\bf \-\_\-cond\-Handler\-Names}\label{classmarlin_1_1ConditionsProcessor_a5dd5746f2878512e2802b66a4695e0d1}

\begin{DoxyCompactList}\small\item\em the names of all handlers \end{DoxyCompactList}\item 
int {\bfseries \-\_\-n\-Run}\label{classmarlin_1_1ConditionsProcessor_aa3128838764a169ecc34e53d4ace3016}

\item 
int {\bfseries \-\_\-n\-Evt}\label{classmarlin_1_1ConditionsProcessor_a06afb5c5e363c60d9fd59d94694ac87a}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\doxyref{Processor}{p.}{classmarlin_1_1Processor} that provides access to conditions data in a Marlin application. 

Uses L\-C\-C\-D Conditions\-Handler. For every Conditions\-Handler you have to specify a line in the steering file. Use My\-Marlin -\/l to get examples for the steering parameters.\par
 The conditions data are added to the event as L\-C\-Collections with their name. Optionally I\-Conditions\-Change\-Listener subclasses, e.\-g. Conditions\-Maps can be registered for conditions data 'name', these are updated whenever the data changes.

\subparagraph*{Input -\/ Prerequisites}

none

\subparagraph*{Output}

Collections of conditions data are added to the event.


\begin{DoxyParams}{Parameters}
{\em D\-B\-Cond\-Handler} &amp; Initialization of a conditions database handler \\
\hline
{\em D\-B\-File\-Handler} &amp; Initialization of a conditions db file handler \\
\hline
{\em D\-B\-Init} &amp; Initialization string for conditions database \\
\hline
{\em Data\-File\-Handler} &amp; Initialization of a data file handler \\
\hline
{\em Simple\-File\-Handler} &amp; Initialization of a simple conditions file handler\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
F. Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Conditions\-Processor.\-h}{p.}{ConditionsProcessor_8h_source},v 1.\-5 2006-\/11-\/15 16\-:28\-:10 gaede Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{marlin\-::\-Conditions\-Processor@{marlin\-::\-Conditions\-Processor}!new\-Processor@{new\-Processor}}
\index{new\-Processor@{new\-Processor}!marlin::ConditionsProcessor@{marlin\-::\-Conditions\-Processor}}
\subsubsection[{new\-Processor}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Processor}$\ast$ marlin\-::\-Conditions\-Processor\-::new\-Processor (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classmarlin_1_1ConditionsProcessor_a98be5866f79a17930450f1ab456e7495}


Return a new instance of the processor. 

Has to be implemented by subclasses. 

Implements {\bf marlin\-::\-Processor} \doxyref{}{p.}{classmarlin_1_1Processor_a75ba6b66644e5273a896053df31aac4d}.

\index{marlin\-::\-Conditions\-Processor@{marlin\-::\-Conditions\-Processor}!process\-Event@{process\-Event}}
\index{process\-Event@{process\-Event}!marlin::ConditionsProcessor@{marlin\-::\-Conditions\-Processor}}
\subsubsection[{process\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Conditions\-Processor\-::process\-Event (
\begin{DoxyParamCaption}
\item[{L\-C\-Event $\ast$}]{evt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1ConditionsProcessor_ab1d916c10ae4c1025f6eb93c4fb7ed98}


Called for every run. 

Updates all registered conditions handlers and adds the data to the event. 

Reimplemented from {\bf marlin\-::\-Processor} \doxyref{}{p.}{classmarlin_1_1Processor_a348ef28b0e6d486575610251e8831022}.

\index{marlin\-::\-Conditions\-Processor@{marlin\-::\-Conditions\-Processor}!register\-Change\-Listener@{register\-Change\-Listener}}
\index{register\-Change\-Listener@{register\-Change\-Listener}!marlin::ConditionsProcessor@{marlin\-::\-Conditions\-Processor}}
\subsubsection[{register\-Change\-Listener}]{\setlength{\rightskip}{0pt plus 5cm}bool marlin\-::\-Conditions\-Processor\-::register\-Change\-Listener (
\begin{DoxyParamCaption}
\item[{lccd\-::\-I\-Conditions\-Change\-Listener $\ast$}]{cl, }
\item[{const std\-::string \&amp;}]{name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classmarlin_1_1ConditionsProcessor_a010541b3832ecb2dae05c77f87d4c32f}


Registers an I\-Conditions\-Change\-Listener, e.\-g. 

a Conditions\-Map with the conditions handler 'name'. Returns true if successfull. 

References register\-Change\-Listener().



Referenced by register\-Change\-Listener().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Conditions\-Processor.\-h\item 
Conditions\-Processor.\-cc\end{DoxyCompactItemize}
</pre></body></html>