sick_scan_config_internal.h
Go to the documentation of this file.
1 //
2 // Created by michael on 10/11/18.
3 //
4 
5 #ifndef SICK_SCAN_CONFIG_H
6 #define SICK_SCAN_CONFIG_H
7 
8 #include <fstream>
9 #include <map>
10 #include <string>
11 
13 {
14 public:
15  static SickScanConfigInternal &get()
16  {
17  static SickScanConfigInternal instance;
18  return instance;
19  }
20 
21  void setValue(std::string key, std::string val);
22 
23  void setValue(std::string key, bool val);
24 
25  std::string getValue(std::string key);
26 
27  bool getBoolValue(std::string key);
28 
29 private:
31  {};
32 
34 
36 
37  std::map<std::string, std::string> storedConfig;
38 };
39 
40 #endif //SICK_SCAN_SICK_SCAN_CONFIG_H
bool getBoolValue(std::string key)
void setValue(std::string key, std::string val)
std::string getValue(std::string key)
std::map< std::string, std::string > storedConfig
SickScanConfigInternal & operator=(const SickScanConfigInternal &)


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Wed May 5 2021 03:05:48