Callback class for the DataOutput classes. More...
#include "data-output-interface.h"
Public Member Functions | |
virtual | ~DataOutputCallback () |
Destructor. More... | |
virtual void | OutputSingleton (std::string key, std::string variable, int val)=0 |
Associates the integer value with the variable name for a specific output format. More... | |
virtual void | OutputSingleton (std::string key, std::string variable, uint32_t val)=0 |
Associates the uint32_t value with the variable name for a specific output format. More... | |
virtual void | OutputSingleton (std::string key, std::string variable, double val)=0 |
Associates the double value with the variable name for a specific output format. More... | |
virtual void | OutputSingleton (std::string key, std::string variable, std::string val)=0 |
Associates the string value with the variable name for a specific output format. More... | |
virtual void | OutputSingleton (std::string key, std::string variable, Time val)=0 |
Associates the Time value with the variable name for a specific output format. More... | |
virtual void | OutputStatistic (std::string key, std::string variable, const StatisticalSummary *statSum)=0 |
Outputs the data from the specified StatisticalSummary. More... | |
Callback class for the DataOutput classes.
Definition at line 81 of file data-output-interface.h.
|
inlinevirtual |
Destructor.
Definition at line 86 of file data-output-interface.h.
|
pure virtual |
Associates the integer value with the variable name for a specific output format.
key | Key value of a DataCalculator |
variable | Name of the variable for which statistics are being provided |
val | Value to be stored |
Implemented in ns3::SqliteDataOutput::SqliteOutputCallback, and ns3::OmnetDataOutput::OmnetOutputCallback.
Referenced by ns3::TimeMinMaxAvgTotalCalculator::Output(), and ns3::CounterCalculator<>::Output().
|
pure virtual |
Associates the uint32_t value with the variable name for a specific output format.
key | Key value of a DataCalculator |
variable | Name of the variable for which statistics are being provided |
val | Value to be stored |
Implemented in ns3::SqliteDataOutput::SqliteOutputCallback, and ns3::OmnetDataOutput::OmnetOutputCallback.
|
pure virtual |
Associates the double value with the variable name for a specific output format.
key | Key value of a DataCalculator |
variable | Name of the variable for which statistics are being provided |
val | Value to be stored |
Implemented in ns3::SqliteDataOutput::SqliteOutputCallback, and ns3::OmnetDataOutput::OmnetOutputCallback.
|
pure virtual |
Associates the string value with the variable name for a specific output format.
key | Key value of a DataCalculator |
variable | Name of the variable for which statistics are being provided |
val | Value to be stored |
Implemented in ns3::SqliteDataOutput::SqliteOutputCallback, and ns3::OmnetDataOutput::OmnetOutputCallback.
|
pure virtual |
Associates the Time value with the variable name for a specific output format.
key | Key value of a DataCalculator |
variable | Name of the variable for which statistics are being provided |
val | Value to be stored |
Implemented in ns3::SqliteDataOutput::SqliteOutputCallback, and ns3::OmnetDataOutput::OmnetOutputCallback.
|
pure virtual |
Outputs the data from the specified StatisticalSummary.
key | Key value of a DataCalculator |
variable | Name of the variable for which statistics are being provided |
statSum | Pointer to a StatisticalSummary object |
Implemented in ns3::SqliteDataOutput::SqliteOutputCallback, and ns3::OmnetDataOutput::OmnetOutputCallback.
Referenced by ns3::MinMaxAvgTotalCalculator< uint64_t >::Output().