#include <probe.h>
Inheritance diagram for MODEL::Probe:


Public Types | |
| typedef vector<number> | data_record |
| typedef vector< data_record > | data_list |
Public Methods | |
| Probe (TimeFrame &T, const string &fn) | |
| Probe (TimeFrame &T, ostream &os) | |
| virtual | ~Probe () |
| virtual void | tick () |
| virtual void | probe (void)=0 |
| void | add_data (const number &d) |
| NO_COPY (Probe) | |
Private Attributes | |
| string | n |
| ostream* | out |
| bool | data_is_here |
| data_list* | var_data |
| data_record* | temp_data |
You just have to redefine probe() to write out the needed data using add_data(). You can add as many datapoints as you like at one time (and the number does not have to be constant).
Definition at line 77 of file probe.h.
|
|
Constructor if we don't have an ostream handy.
|
|
|
Constructor with ostream
|
|
|
Don't copy or assign |
|
|
called to make things work, for each one Reimplemented from MODEL::TickTock. |
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.