\hypertarget{classmemlog}{
\section{memlog Class Reference}
\label{classmemlog}\index{memlog@{memlog}}
}
Logging into matrices in data format in memory.  


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

Inheritance diagram for memlog:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=48pt]{classmemlog__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for memlog:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=47pt]{classmemlog__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classmemlog_e056e819c5a65d4431bfe7955b1efe97}{
\hyperlink{classmemlog_e056e819c5a65d4431bfe7955b1efe97}{memlog} (int maxlen0)}
\label{classmemlog_e056e819c5a65d4431bfe7955b1efe97}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
\hypertarget{classmemlog_b081ef5acb4816e6b5fcb56c19cc7e47}{
void \hyperlink{classmemlog_b081ef5acb4816e6b5fcb56c19cc7e47}{init} ()}
\label{classmemlog_b081ef5acb4816e6b5fcb56c19cc7e47}

\begin{CompactList}\small\item\em Initialize storage. \item\end{CompactList}\item 
\hypertarget{classmemlog_c97961eda9cda9f0e63c703cf21e5804}{
void \hyperlink{classmemlog_c97961eda9cda9f0e63c703cf21e5804}{step} ()}
\label{classmemlog_c97961eda9cda9f0e63c703cf21e5804}

\begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item 
\hypertarget{classmemlog_3974df074f1df270d56f13ade374c1be}{
void \hyperlink{classmemlog_3974df074f1df270d56f13ade374c1be}{logit} (int id, const vec \&v)}
\label{classmemlog_3974df074f1df270d56f13ade374c1be}

\begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item 
\hypertarget{classmemlog_65571ebbb16577b5211adbb27baf769c}{
void \hyperlink{classmemlog_65571ebbb16577b5211adbb27baf769c}{itsave} (const char $\ast$fname)}
\label{classmemlog_65571ebbb16577b5211adbb27baf769c}

\begin{CompactList}\small\item\em Save values into an itfile named after {\tt fname}. \item\end{CompactList}\item 
\hypertarget{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{
virtual int \hyperlink{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{add} (const \hyperlink{classRV}{RV} \&rv, string name=\char`\"{}\char`\"{})}
\label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}

\begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\item 
\hypertarget{classlogger_51c1aa8a84a14097b51607a187ae3617}{
virtual void \hyperlink{classlogger_51c1aa8a84a14097b51607a187ae3617}{finalize} ()}
\label{classlogger_51c1aa8a84a14097b51607a187ae3617}

\begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
\hypertarget{classmemlog_4195f322897ededdac66c404b848ced3}{
int \hyperlink{classmemlog_4195f322897ededdac66c404b848ced3}{maxlen}}
\label{classmemlog_4195f322897ededdac66c404b848ced3}

\begin{CompactList}\small\item\em Maximum length of vectors stored in memory. \item\end{CompactList}\item 
\hypertarget{classmemlog_3410b4c002636508c43ddcba8d394520}{
int \hyperlink{classmemlog_3410b4c002636508c43ddcba8d394520}{ind}}
\label{classmemlog_3410b4c002636508c43ddcba8d394520}

\begin{CompactList}\small\item\em Currect record to be written. \item\end{CompactList}\item 
\hypertarget{classmemlog_f0f5bc7b83539ad102e8f65297852d91}{
Array$<$ mat $>$ \hyperlink{classmemlog_f0f5bc7b83539ad102e8f65297852d91}{vectors}}
\label{classmemlog_f0f5bc7b83539ad102e8f65297852d91}

\begin{CompactList}\small\item\em Storage. \item\end{CompactList}\item 
\hypertarget{classlogger_83eea0cf4fbca59474d015f751f128a7}{
Array$<$ \hyperlink{classRV}{RV} $>$ \hyperlink{classlogger_83eea0cf4fbca59474d015f751f128a7}{entries}}
\label{classlogger_83eea0cf4fbca59474d015f751f128a7}

\begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item 
\hypertarget{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{
Array$<$ string $>$ \hyperlink{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{names}}
\label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}

\begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Logging into matrices in data format in memory. 

More?... 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
work/git/mixpp/bdm/stat/\hyperlink{loggers_8h}{loggers.h}\item 
work/git/mixpp/bdm/stat/loggers.cpp\end{CompactItemize}
