Class to generate OMNeT output. More...
Public Member Functions | |
SqliteOutputCallback (Ptr< SqliteDataOutput > owner, std::string run) | |
Constructor. More... | |
void | OutputSingleton (std::string key, std::string variable, int val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string key, std::string variable, uint32_t val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string key, std::string variable, double val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string key, std::string variable, std::string val) |
Generates a single data output. More... | |
void | OutputSingleton (std::string key, std::string variable, Time val) |
Generates a single data output. More... | |
void | OutputStatistic (std::string key, std::string variable, const StatisticalSummary *statSum) |
Generates data statistics. More... | |
![]() | |
virtual | ~DataOutputCallback () |
Destructor. More... | |
Private Attributes | |
Ptr< SqliteDataOutput > | m_owner |
the instance this object belongs to More... | |
std::string | m_runLabel |
Run label. More... | |
Class to generate OMNeT output.
Definition at line 57 of file sqlite-data-output.h.
SqliteDataOutput::SqliteOutputCallback::SqliteOutputCallback | ( | Ptr< SqliteDataOutput > | owner, |
std::string | run | ||
) |
Constructor.
owner | pointer to the instance this object belongs to |
run | experiment descriptor |
Definition at line 148 of file sqlite-data-output.cc.
|
virtual |
Generates a single data output.
key | the SQL key to use |
variable | the variable name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 178 of file sqlite-data-output.cc.
Referenced by OutputStatistic().
|
virtual |
Generates a single data output.
key | the SQL key to use |
variable | the variable name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 194 of file sqlite-data-output.cc.
|
virtual |
Generates a single data output.
key | the SQL key to use |
variable | the variable name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 208 of file sqlite-data-output.cc.
|
virtual |
Generates a single data output.
key | the SQL key to use |
variable | the variable name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 222 of file sqlite-data-output.cc.
|
virtual |
Generates a single data output.
key | the SQL key to use |
variable | the variable name |
val | the value |
Implements ns3::DataOutputCallback.
Definition at line 236 of file sqlite-data-output.cc.
References ns3::Time::GetTimeStep().
|
virtual |
Generates data statistics.
key | the SQL key to use |
variable | the variable name |
statSum | the stats to print |
Implements ns3::DataOutputCallback.
Definition at line 159 of file sqlite-data-output.cc.
References ns3::StatisticalSummary::getCount(), ns3::StatisticalSummary::getMax(), ns3::StatisticalSummary::getMin(), ns3::StatisticalSummary::getSqrSum(), ns3::StatisticalSummary::getStddev(), ns3::StatisticalSummary::getSum(), ns3::isNaN(), and OutputSingleton().
|
private |
the instance this object belongs to
Definition at line 127 of file sqlite-data-output.h.
|
private |
Run label.
Definition at line 128 of file sqlite-data-output.h.