rad  5.1.0
dataContext.hpp
Go to the documentation of this file.
1 
9 #ifndef RAD_DATA_CONTEXT_HPP
10 #define RAD_DATA_CONTEXT_HPP
11 
12 #include <rad/config.hpp>
13 #include <rad/oldbInterface.hpp>
14 
15 namespace rad {
16 
22 class DataContext {
23  public:
24  virtual ~DataContext() = default;
25 
29  virtual void ReloadConfig() = 0;
30 
34  virtual Config& GetConfig() = 0;
35 
40  virtual void UpdateDb() = 0;
41 
46 };
47 
48 } // namespace rad
49 
50 #endif // RAD_DATA_CONTEXT_HPP
Config class header file.
OldbInterface class header file.
Definition: config.hpp:67
Definition: dataContext.hpp:22
virtual ~DataContext()=default
virtual void UpdateDb()=0
virtual Config & GetConfig()=0
virtual OldbInterface & GetOldbInterface()=0
virtual void ReloadConfig()=0
Definition: oldbInterface.hpp:34
Definition: actionsApp.cpp:20