sick_scan_config_internal.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 //
3 // Created by michael on 10/11/18.
4 //
5 
6 #ifndef SICK_SCAN_CONFIG_H
7 #define SICK_SCAN_CONFIG_H
8 
9 #include <fstream>
10 #include <map>
11 #include <string>
12 
14 {
15 public:
17  {
18  static SickScanConfigInternal instance;
19  return instance;
20  }
21 
22  void setValue(std::string key, std::string val);
23 
24  void setValue(std::string key, bool val);
25 
26  std::string getValue(std::string key);
27 
28  bool getBoolValue(std::string key);
29 
30 private:
32  {};
33 
35 
37 
38  std::map<std::string, std::string> storedConfig;
39 };
40 
41 #endif //SICK_SCAN_SICK_SCAN_CONFIG_H
SickScanConfigInternal::storedConfig
std::map< std::string, std::string > storedConfig
Definition: sick_scan_config_internal.h:38
SickScanConfigInternal::SickScanConfigInternal
SickScanConfigInternal()
Definition: sick_scan_config_internal.h:31
SickScanConfigInternal
Definition: sick_scan_config_internal.h:13
SickScanConfigInternal::get
static SickScanConfigInternal & get()
Definition: sick_scan_config_internal.h:16
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_base.h


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:11