memlog Class Reference

Logging into matrices in data format in memory. More...

#include <loggers.h>

Inheritance diagram for memlog:

Inheritance graph
[legend]
Collaboration diagram for memlog:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 memlog (int maxlen0)
 Default constructor.
void init ()
 Initialize storage.
void step ()
 Shifts storage position for another time step.
void logit (int id, vec v)
 log this vector
void itsave (const char *fname)
 Save values into an itfile named after fname.
virtual int add (const RV &rv, string name="")
 returns an identifier which will be later needed for calling the log() function
virtual void finalize ()
 Finalize storing information.

Protected Attributes

int maxlen
 Maximum length of vectors stored in memory.
int ind
 Currect record to be written.
Array< mat > vectors
 Storage.
Array< RVentries
 RVs of all logged variables.
Array< string > names
 Names of logged quantities, e.g. names of algorithm variants.


Detailed Description

Logging into matrices in data format in memory.

More?...


The documentation for this class was generated from the following files:

Generated on Wed Oct 15 15:57:15 2008 for mixpp by  doxygen 1.5.6