Class to generate OMNeT output. More...
Public Member Functions | |
OmnetOutputCallback (std::ostream *scalar) | |
Constructor. More... | |
void | OutputSingleton (std::string context, std::string name, int val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string context, std::string name, uint32_t val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string context, std::string name, double val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string context, std::string name, std::string val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string context, std::string name, Time val) |
Generates a single data output. More... | |
void | OutputStatistic (std::string context, std::string name, const StatisticalSummary *statSum) |
Generates data statistics. More... | |
![]() | |
virtual | ~DataOutputCallback () |
Destructor. More... | |
Private Attributes | |
std::ostream * | m_scalar |
output stream More... | |
Class to generate OMNeT output.
Definition at line 55 of file omnet-data-output.h.
OmnetDataOutput::OmnetOutputCallback::OmnetOutputCallback | ( | std::ostream * | scalar | ) |
Constructor.
scalar | the output stream |
Definition at line 139 of file omnet-data-output.cc.
|
virtual |
Generates a single data output.
context | the output context |
name | the output name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 171 of file omnet-data-output.cc.
|
virtual |
Generates a single data output.
context | the output context |
name | the output name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 184 of file omnet-data-output.cc.
|
virtual |
Generates a single data output.
context | the output context |
name | the output name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 197 of file omnet-data-output.cc.
|
virtual |
Generates a single data output.
context | the output context |
name | the output name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 210 of file omnet-data-output.cc.
|
virtual |
Generates a single data output.
context | the output context |
name | the output name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 223 of file omnet-data-output.cc.
References ns3::Time::GetTimeStep().
|
virtual |
Generates data statistics.
context | the output context |
name | the output name |
statSum | the stats to print |
Implements ns3::DataOutputCallback.
Definition at line 145 of file omnet-data-output.cc.
References ns3::StatisticalSummary::getCount(), ns3::StatisticalSummary::getMax(), ns3::StatisticalSummary::getMean(), ns3::StatisticalSummary::getMin(), ns3::StatisticalSummary::getSqrSum(), ns3::StatisticalSummary::getStddev(), ns3::StatisticalSummary::getSum(), and ns3::isNaN().
|
private |
output stream
Definition at line 124 of file omnet-data-output.h.