systemConfiguration.h
1 #include <map>
2 #include <string>
3 
4 #pragma once
5 namespace System {
7 enum Machines
8 {
9  UNKNOWN,
10  EP100,
11  TV10,
12  UC100,
13  EP200,
14  TV100,
15  REC30,
16  DTD200
17 };
18 }
19 
24 {
25 private:
29  std::map<std::string, std::string> mMapSystemConfiguration;
33  std::map<std::string, System::Machines> mMachineToStringMap;
37  static SystemConfiguration *instance;
41  static std::string mConfigurationFilePath;
42 
44 
46 
47  void parse(std::string file);
48 public:
53  static SystemConfiguration* getInstance();
54 
60  std::string getConfigurationValue(const std::string& parameter);
61 
66  System::Machines getMachine();
67 
68 };
Definition: systemConfiguration.h:23
Definition: systemConfiguration.h:5
Unknown service state.