NTRT Simulator
Version: Master
|
#include <tgDataObserver.h>
Public Member Functions | |
tgDataObserver (std::string filePrefix) | |
virtual | ~tgDataObserver () |
virtual void | onSetup (tgModel &model) |
virtual void | onStep (tgModel &model, double dt) |
A class that dispatches data loggers. Should be included by observers, since they will know when to step this, and we don't have any model specific information here.
Definition at line 42 of file tgDataObserver.h.
|
virtual |
A class with virtual member functions must have a virtual destructor.
Definition at line 53 of file tgDataObserver.cpp.
|
virtual |
Definition at line 60 of file tgDataObserver.cpp.
|
virtual |
Dispatch the visitors to the given model and log data
[in] | the | number of seconds since the previous call; must be positive |
Definition at line 159 of file tgDataObserver.cpp.