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  void setValue(std::string key, std::string val);
21 
22  void setValue(std::string key, bool val);
23  std::string getValue(std::string key);
24  bool getBoolValue(std::string key);
25 
26 private:
30  std::map<std::string,std::string> storedConfig;
31  };
32 #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)
SickScanConfigInternal & operator=(const SickScanConfigInternal &)
std::map< std::string, std::string > storedConfig


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Tue Jul 9 2019 04:55:32