|
HLCC Documentation 2.2.0
|
#include <dataContext.hpp>
Public Member Functions | |
| DataContext () | |
| virtual | ~DataContext () |
| Config & | GetConfig () |
| void | ReloadConfig () |
| OldbInterface & | GetOldbInterface () |
| void | UpdateDb () |
| DataContext (const DataContext &)=delete | |
| DataContext & | operator= (const DataContext &)=delete |
| Disable copy constructor. | |
This class provide access to the application run-time data including the in-memory DB.
| hlcc::lsvsim::DataContext::DataContext | ( | ) |
Default constructor.
|
virtual |
Destructor
|
delete |
| Config & hlcc::lsvsim::DataContext::GetConfig | ( | ) |
| OldbInterface & hlcc::lsvsim::DataContext::GetOldbInterface | ( | ) |
|
delete |
Disable copy constructor.
| void hlcc::lsvsim::DataContext::ReloadConfig | ( | ) |
Reload the configuration from file and reconnect to the in-memory DB.
| void hlcc::lsvsim::DataContext::UpdateDb | ( | ) |
Try to connect to the DB and update the application configuration.