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. | |
| ~SqliteOutputCallback () override | |
| Destructor. | |
| void | OutputSingleton (std::string key, std::string variable, double val) override |
| Generates a single data output. | |
| void | OutputSingleton (std::string key, std::string variable, int val) override |
| Generates a single data output. | |
| void | OutputSingleton (std::string key, std::string variable, std::string val) override |
| Generates a single data output. | |
| void | OutputSingleton (std::string key, std::string variable, Time val) override |
| Generates a single data output. | |
| void | OutputSingleton (std::string key, std::string variable, uint32_t val) override |
| Generates a single data output. | |
| void | OutputStatistic (std::string key, std::string variable, const StatisticalSummary *statSum) override |
| Generates data statistics. | |
Public Member Functions inherited from ns3::DataOutputCallback | |
| virtual | ~DataOutputCallback () |
| Destructor. | |
Private Attributes | |
| Ptr< SQLiteOutput > | m_db |
| Db. | |
| sqlite3_stmt * | m_insertSingletonStatement |
| Pointer to a Sqlite3 singleton statement. | |
| std::string | m_runLabel |
| Run label. | |
Class to generate OMNeT output.
Definition at line 50 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 131 of file sqlite-data-output.cc.
References ns3::Create(), m_db, m_insertSingletonStatement, m_runLabel, and NS_LOG_FUNCTION.
Here is the call graph for this function:
|
override |
Destructor.
Definition at line 148 of file sqlite-data-output.cc.
References ns3::SQLiteOutput::SpinFinalize().
Here is the call graph for this function:
|
overridevirtual |
Generates a single data output.
| key | the SQL key to use |
| variable | the variable name |
| val | the value |
Implements ns3::DataOutputCallback.
Definition at line 212 of file sqlite-data-output.cc.
References ns3::Create(), NS_LOG_FUNCTION, ns3::SQLiteOutput::SpinReset(), and ns3::SQLiteOutput::SpinStep().
Here is the call graph for this function:
|
overridevirtual |
Generates a single data output.
| key | the SQL key to use |
| variable | the variable name |
| val | the value |
Implements ns3::DataOutputCallback.
Definition at line 184 of file sqlite-data-output.cc.
References ns3::Create(), NS_LOG_FUNCTION, ns3::SQLiteOutput::SpinReset(), and ns3::SQLiteOutput::SpinStep().
Here is the call graph for this function:
|
overridevirtual |
Generates a single data output.
| key | the SQL key to use |
| variable | the variable name |
| val | the value |
Implements ns3::DataOutputCallback.
Definition at line 226 of file sqlite-data-output.cc.
References ns3::Create(), NS_LOG_FUNCTION, ns3::SQLiteOutput::SpinReset(), and ns3::SQLiteOutput::SpinStep().
Here is the call graph for this function:
|
overridevirtual |
Generates a single data output.
| key | the SQL key to use |
| variable | the variable name |
| val | the value |
Implements ns3::DataOutputCallback.
Definition at line 240 of file sqlite-data-output.cc.
References ns3::Create(), NS_LOG_FUNCTION, ns3::SQLiteOutput::SpinReset(), and ns3::SQLiteOutput::SpinStep().
Here is the call graph for this function:
|
overridevirtual |
Generates a single data output.
| key | the SQL key to use |
| variable | the variable name |
| val | the value |
Implements ns3::DataOutputCallback.
Definition at line 198 of file sqlite-data-output.cc.
References ns3::Create(), NS_LOG_FUNCTION, ns3::SQLiteOutput::SpinReset(), and ns3::SQLiteOutput::SpinStep().
Here is the call graph for this function:
|
overridevirtual |
Generates data statistics.
| key | the SQL key to use |
| variable | the variable name |
| statSum | the stats to print |
Implements ns3::DataOutputCallback.
Definition at line 154 of file sqlite-data-output.cc.
References ns3::Create(), and NS_LOG_FUNCTION.
Here is the call graph for this function:
|
private |
|
private |
Pointer to a Sqlite3 singleton statement.
Definition at line 120 of file sqlite-data-output.h.
Referenced by SqliteOutputCallback().
|
private |
Run label.
Definition at line 117 of file sqlite-data-output.h.
Referenced by SqliteOutputCallback().