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:
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
SickScanConfigInternal::storedConfig
std::map< std::string, std::string > storedConfig
Definition: sick_scan_config_internal.h:37
SickScanConfigInternal::SickScanConfigInternal
SickScanConfigInternal()
Definition: sick_scan_config_internal.h:30
SickScanConfigInternal
Definition: sick_scan_config_internal.h:12
SickScanConfigInternal::get
static SickScanConfigInternal & get()
Definition: sick_scan_config_internal.h:15
SickScanConfigInternal::operator=
SickScanConfigInternal & operator=(const SickScanConfigInternal &)
SickScanConfigInternal::getValue
std::string getValue(std::string key)
Definition: sick_scan_config_internal.cpp:31
SickScanConfigInternal::getBoolValue
bool getBoolValue(std::string key)
Definition: sick_scan_config_internal.cpp:38
SickScanConfigInternal::setValue
void setValue(std::string key, std::string val)
Definition: sick_scan_config_internal.cpp:9


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19