rad 6.2.0
|
#include <dataContext.hpp>
Public Member Functions | |
DataContext (rad::Config &config) | |
virtual | ~DataContext () |
void | ReloadConfig () override |
rad::Config & | GetConfig () override |
void | UpdateDb () override |
rad::OldbInterface & | GetOldbInterface () override |
![]() | |
DataContext () | |
virtual void | Initialize () |
virtual void | SetTrsHealth (TrsHealthState health) |
virtual TrsHealthState | GetTrsHealth () |
Additional Inherited Members | |
![]() | |
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. This method can also be used to create and initialize the monitoring branch of the OLDB.
Implements rad::DataContext.