|
HLCC Documentation 2.2.0
|
#include <dataContext.hpp>
Public Member Functions | |
| DataContext () | |
| virtual | ~DataContext () |
| void | ReloadConfig () override |
| Config & | GetConfig () override |
| void | UpdateDb () override |
| OldbInterface & | GetOldbInterface () override |
| void | SetPyModulesReload (bool reload) |
| bool | GetPyModulesReload () |
| void | SetNbrModulesLoaded (int nbr_modules) |
| int | GetNbrModulesLoaded () |
| 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::telmon::DataContext::DataContext | ( | ) |
Default Constructor
|
virtual |
Destructor
|
delete |
| int hlcc::telmon::DataContext::GetNbrModulesLoaded | ( | ) |
Getter function for the m_nbr_modules_loaded menber var
|
override |
| bool hlcc::telmon::DataContext::GetPyModulesReload | ( | ) |
Getter function for the m_oldb_interface menber var
|
delete |
Disable copy constructor.
|
override |
Reload the configuration from file.
| void hlcc::telmon::DataContext::SetNbrModulesLoaded | ( | int | nbr_modules | ) |
Setter function for the m_nbr_modules_loaded menber var
| [in] | nbr_modules | number of modules currently loaded. |
| void hlcc::telmon::DataContext::SetPyModulesReload | ( | bool | reload | ) |
Setter function for the m_oldb_interface menber var
| [in] | reload | true if the modules should be reloaded. |
|
override |
Try to connect to the DB and update the application configuration.