|
rad
5.2.0
|
#include <dataContext.hpp>
Public Member Functions | |
| DataContext (rad::Config &config) | |
| virtual | ~DataContext () |
| virtual void | ReloadConfig () override |
| virtual rad::Config & | GetConfig () override |
| virtual void | UpdateDb () override |
| virtual rad::OldbInterface & | GetOldbInterface () override |
Public Member Functions inherited from rad::DataContext | |
| DataContext () | |
| virtual void | SetTrsHealth (TrsHealthState health) |
| virtual TrsHealthState | GetTrsHealth () |
Additional Inherited Members | |
Public Types inherited from rad::DataContext | |
| enum class | TrsHealthState { UNKNOWN , DISABLED , GOOD , BAD } |
This class is a trivial implementation of the lsv::app::DataContext interface that can be used for unit tests.
It implements the mandatory pure virtual methods.
|
explicit |
|
virtual |
Reimplemented from rad::DataContext.
|
overridevirtual |
Implements rad::DataContext.
|
overridevirtual |
Implements rad::DataContext.
|
overridevirtual |
Reload the configuration from file.
Implements rad::DataContext.
|
overridevirtual |
Try to connect to the DB and write the application configuration to the OLDB.
Implements rad::DataContext.