#include <envirext.h>
Inheritance diagram for cOutputScalarManager:
cOutputScalarManagers are plugins into the Envir user interface library (src/envir) that ultimately handle calls to the cModule::recordScalar() family of functions.
The default output scalar manager is cFileOutputScalarManager, defined in the Envir library.
To change the way scalar results are recorded, subclass cOutputScalarManager, register your new class with the Register_Class() macro, then select it by adding the following to omnetpp.ini
:
[General] outputscalarmanager-class="MyClass"
Public Member Functions | |
Constructor, destructor | |
cOutputScalarManager () | |
virtual | ~cOutputScalarManager () |
Controlling the beginning and end of collecting data. | |
virtual void | startRun ()=0 |
virtual void | endRun ()=0 |
Scalar statistics. | |
virtual void | recordScalar (cModule *module, const char *name, double value)=0 |
virtual const char * | fileName () const =0 |
virtual void | flush ()=0 |
|
Constructor.
|
|
Destructor.
|
|
Closes collecting. Called at the end of a simulation run. |
|
Returns the output scalar file name. Returns NULL if this object is not producing file output. |
|
Force writing out all buffered output.
|
|
Records a double scalar result, in a default configuration into the scalar result file.
|
|
Opens collecting. Called at the beginning of a simulation run. |