Provides access to the application run-time data.
More...
#include <dataContext.hpp>
Provides access to the application run-time data.
◆ DataContext() [1/2]
ifw::ccf::control::DataContext::DataContext |
( |
Config & | config | ) |
|
This constructor uses the application configuration to initialize the adapter object to the in-memory DB. The DB adapter is then used to initialize the DB interface object that can be used to access the DB key-value pairs.
- Parameters
-
[in] | config | Reference to the application configuration. |
◆ ~DataContext()
ifw::ccf::control::DataContext::~DataContext |
( |
| ) |
|
|
virtual |
◆ DataContext() [2/2]
ifw::ccf::control::DataContext::DataContext |
( |
const DataContext & | | ) |
|
|
delete |
◆ operator=()
Disable copy constructor.
◆ ReloadConfig()
void ifw::ccf::control::DataContext::ReloadConfig |
( |
| ) |
|
Reload the configuration from file and reconnect to the in-memory DB.
◆ UpdateDb()
void ifw::ccf::control::DataContext::UpdateDb |
( |
| ) |
|
Connect to the DB and update the application configuration.
The documentation for this class was generated from the following files: