Class to generate OMNeT output. More...
Inheritance diagram for ns3::SqliteDataOutput::SqliteOutputCallback:
Collaboration diagram for ns3::SqliteDataOutput::SqliteOutputCallback: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... | |
Public Member Functions inherited from ns3::DataOutputCallback | |
| 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 63 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 164 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION.
|
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 197 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION.
Referenced by OutputStatistic().
Here is the caller graph for this function:
|
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 214 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION.
|
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 230 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION.
|
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 246 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION.
|
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 262 of file sqlite-data-output.cc.
References ns3::Time::GetTimeStep(), and NS_LOG_FUNCTION.
Here is the call graph for this function:
|
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 176 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(), NS_LOG_FUNCTION, and OutputSingleton().
Here is the call graph for this function:
|
private |
the instance this object belongs to
Definition at line 133 of file sqlite-data-output.h.
|
private |
Run label.
Definition at line 134 of file sqlite-data-output.h.