|
rad
5.2.0
|
#include <dataContext.hpp>
Public Types | |
| enum class | TrsHealthState { UNKNOWN , DISABLED , GOOD , BAD } |
Public Member Functions | |
| DataContext () | |
| virtual | ~DataContext ()=default |
| virtual void | ReloadConfig ()=0 |
| virtual Config & | GetConfig ()=0 |
| virtual void | UpdateDb ()=0 |
| virtual OldbInterface & | GetOldbInterface ()=0 |
| virtual void | SetTrsHealth (TrsHealthState health) |
| virtual TrsHealthState | GetTrsHealth () |
This interface contains mandatory methods used by the rad::Application class to retrieve application specific configuration and access/update CII OLDB.
|
strong |
Enum gets used for methods SetTrsHealth, GetTrsHealth.
| rad::DataContext::DataContext | ( | ) |
|
virtualdefault |
Reimplemented in rad::utest::DataContext, and exciiserver::DataContext.
|
pure virtual |
Implemented in rad::utest::DataContext, and exciiserver::DataContext.
|
pure virtual |
Implemented in rad::utest::DataContext, and exciiserver::DataContext.
|
virtual |
Gets the TRS health state.
|
pure virtual |
Reload the configuration from file.
Implemented in rad::utest::DataContext, and exciiserver::DataContext.
|
virtual |
Stores the TRS health state.
|
pure virtual |
Try to connect to the DB and write the application configuration to the OLDB.
Implemented in rad::utest::DataContext, and exciiserver::DataContext.