libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
Environment.h
Go to the documentation of this file.
1 //
2 // Created by sathya on 03.09.19.
3 //
4 
5 #ifndef LIBHOMEGEAR_BASE_ENVIRONMENT_H
6 #define LIBHOMEGEAR_BASE_ENVIRONMENT_H
7 
8 #include <mutex>
9 
10 namespace BaseLib
11 {
12 
14 {
15 private:
16  static std::mutex _environmentMutex;
17 public:
18  Environment() = delete;
19 
20  static std::string get(const std::string& name);
21 
22  static void set(const std::string& name, const std::string& value);
23 };
24 
25 }
26 
27 #endif //LIBHOMEGEAR_BASE_ENVIRONMENT_H
Definition: BaseLib.cpp:34
PVariable value
Definition: UiElements.h:217
std::string name
Definition: UiElements.h:216
Definition: Environment.h:13