root/doc/latex/classlogger.tex @ 180

Revision 172, 3.5 kB (checked in by smidl, 16 years ago)

Latex doc

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