sick_scan_config_internal.h
Go to the documentation of this file.
00001 //
00002 // Created by michael on 10/11/18.
00003 //
00004 
00005 #ifndef SICK_SCAN_CONFIG_H
00006 #define SICK_SCAN_CONFIG_H
00007 
00008 #include <fstream>
00009 #include <map>
00010 #include <string>
00011 
00012 class SickScanConfigInternal
00013     {
00014 public:
00015     static SickScanConfigInternal& get()
00016       {
00017       static SickScanConfigInternal instance;
00018       return instance;
00019       }
00020     void setValue(std::string key, std::string val);
00021 
00022     void setValue(std::string key, bool val);
00023     std::string getValue(std::string key);
00024     bool getBoolValue(std::string key);
00025 
00026 private:
00027     SickScanConfigInternal(){};
00028     SickScanConfigInternal(const SickScanConfigInternal&);
00029     SickScanConfigInternal& operator=(const SickScanConfigInternal&);
00030     std::map<std::string,std::string> storedConfig;
00031     };
00032 #endif //SICK_SCAN_SICK_SCAN_CONFIG_H


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