NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tscDataObserver Class Reference

#include <tscDataObserver.h>

Public Member Functions

 tscDataObserver (std::string filePrefix)
 
virtual ~tscDataObserver ()
 
virtual void onSetup (BaseSpineModelLearning &model)
 
virtual void onStep (BaseSpineModelLearning &model, double dt)
 

Detailed Description

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 43 of file tscDataObserver.h.

Constructor & Destructor Documentation

tscDataObserver::~tscDataObserver ( )
virtual

A class with virtual member functions must have a virtual destructor.

Definition at line 54 of file tscDataObserver.cpp.

Member Function Documentation

void tscDataObserver::onSetup ( BaseSpineModelLearning model)
virtual
Todo:
move functions to constructor when possible
Todo:
move functions to constructor when possible

Definition at line 61 of file tscDataObserver.cpp.

Here is the call graph for this function:

void tscDataObserver::onStep ( BaseSpineModelLearning model,
double  dt 
)
virtual

Dispatch the visitors to the given model and log data

Parameters
[in]thenumber of seconds since the previous call; must be positive

Definition at line 151 of file tscDataObserver.cpp.

Here is the call graph for this function:


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