root/doc/latex/classlogger.tex @ 162

Revision 162, 2.5 kB (checked in by smidl, 16 years ago)

opravy a dokumentace

  • Property svn:eol-style set to native
Line 
1\section{logger Class Reference}
2\label{classlogger}\index{logger@{logger}}
3Class for storing results (and semi-results) of an experiment. 
4
5
6{\tt \#include $<$loggers.h$>$}
7
8Inheritance diagram for logger:\nopagebreak
9\begin{figure}[H]
10\begin{center}
11\leavevmode
12\includegraphics[width=48pt]{classlogger__inherit__graph}
13\end{center}
14\end{figure}
15\subsection*{Public Member Functions}
16\begin{CompactItemize}
17\item 
18{\bf logger} ()\label{classlogger_4f753a510e00c892b38e95c2284363a6}
19
20\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
21virtual int {\bf add} (const {\bf RV} \&rv, string name=\char`\"{}\char`\"{})\label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}
22
23\begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\item 
24virtual void {\bf logit} (int id, vec v)=0\label{classlogger_efb5a59cb329f58810b09bd9cc270b78}
25
26\begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item 
27virtual void {\bf step} ()=0\label{classlogger_709b3ebefa0da3ed371aa802b06512a2}
28
29\begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item 
30virtual void {\bf finalize} ()\label{classlogger_51c1aa8a84a14097b51607a187ae3617}
31
32\begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\item 
33virtual {\bf $\sim$logger} ()\label{classlogger_92c63a0a87392c62b9ed3c00faa9d5df}
34
35\begin{CompactList}\small\item\em for future use \item\end{CompactList}\end{CompactItemize}
36\subsection*{Protected Attributes}
37\begin{CompactItemize}
38\item 
39Array$<$ {\bf RV} $>$ {\bf entries}\label{classlogger_83eea0cf4fbca59474d015f751f128a7}
40
41\begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item 
42Array$<$ string $>$ {\bf names}\label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}
43
44\begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize}
45
46
47\subsection{Detailed Description}
48Class for storing results (and semi-results) of an experiment.
49
50This class abstracts logging of results from implementation. This class replaces direct logging of results (e.g. to files or to global variables) by calling methods of a \doxyref{logger}{p.}{classlogger}. Specializations of this abstract class for specific storage method are designed.
51
52The documentation for this class was generated from the following file:\begin{CompactItemize}
53\item 
54work/git/mixpp/bdm/stat/{\bf loggers.h}\end{CompactItemize}
Note: See TracBrowser for help on using the browser.