Class to generate OMNeT output. More...
Inheritance diagram for ns3::SqliteDataOutput::SqliteOutputCallback:
Collaboration diagram for ns3::SqliteDataOutput::SqliteOutputCallback:Public Member Functions | |
| SqliteOutputCallback (const Ptr< SQLiteOutput > &db, std::string run) | |
| Constructor. More... | |
| ~SqliteOutputCallback () | |
| Destructor. 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, int 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 | OutputSingleton (std::string key, std::string variable, uint32_t 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< SQLiteOutput > | m_db |
| Db. More... | |
| sqlite3_stmt * | m_insertSingletonStatement |
| Pointer to a Sqlite3 singleton statement. More... | |
| std::string | m_runLabel |
| Run label. More... | |
Class to generate OMNeT output.
Definition at line 61 of file sqlite-data-output.h.
| ns3::SqliteDataOutput::SqliteOutputCallback::SqliteOutputCallback | ( | const Ptr< SQLiteOutput > & | db, |
| std::string | run | ||
| ) |
Constructor.
| db | pointer to the instance this object belongs to |
| run | experiment descriptor |
Definition at line 140 of file sqlite-data-output.cc.
References m_db, m_insertSingletonStatement, m_runLabel, and NS_LOG_FUNCTION.
| ns3::SqliteDataOutput::SqliteOutputCallback::~SqliteOutputCallback | ( | ) |
Destructor.
Definition at line 156 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 220 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION, and anonymous_namespace{print-introspected-doxygen.cc}::variable.
|
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 193 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION, and anonymous_namespace{print-introspected-doxygen.cc}::variable.
|
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 234 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION, and anonymous_namespace{print-introspected-doxygen.cc}::variable.
|
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 248 of file sqlite-data-output.cc.
References ns3::Time::GetTimeStep(), NS_LOG_FUNCTION, and anonymous_namespace{print-introspected-doxygen.cc}::variable.
Here is the call 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 206 of file sqlite-data-output.cc.
References NS_LOG_FUNCTION, and anonymous_namespace{print-introspected-doxygen.cc}::variable.
|
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 162 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 anonymous_namespace{print-introspected-doxygen.cc}::variable.
Here is the call graph for this function:
|
private |
|
private |
Pointer to a Sqlite3 singleton statement.
Definition at line 141 of file sqlite-data-output.h.
Referenced by SqliteOutputCallback().
|
private |
Run label.
Definition at line 138 of file sqlite-data-output.h.
Referenced by SqliteOutputCallback().