#include <probe.h>
Inheritance diagram for MODEL::GenericProbe:
Public Methods | |
GenericProbe (TimeFrame &T, const string &fn) | |
GenericProbe (TimeFrame &T, ostream &os) | |
~GenericProbe () | |
virtual void | tick () |
virtual void | probe (void)=0 |
void | write_data (void) |
virtual void | print (ostream &out)=0 |
NO_COPY (GenericProbe) | |
Protected Attributes | |
string | n |
ostream* | out |
Definition at line 35 of file probe.h.
|
Without ostream |
|
With ostream |
|
Don't copy or assign |
|
Implement this one to write the data. You can call it upon destruction of your derived object. Unfortunately, I have not yet figured out how to call a derived function inside a destructor (as a general rule, this is not possible: it will always call the local version. DUH. So it is implemented so people would be reminded Reimplemented in MODEL::BinProbe, and MODEL::BinDwellProbe. Referenced by write_data().
|
|
called to make things work, for each one Reimplemented from MODEL::TickTock. |
|
Call this one in the destructor |
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.