sensor.h
Go to the documentation of this file.
1 #ifndef SENSOR_H
2 #define SENSOR_H
3 
4 #include <string>
5 #include <map>
6 #include <gmapping/sensor/sensor_base/sensor_base_export.h>
7 
8 namespace GMapping{
9 
10 class SENSOR_BASE_EXPORT Sensor{
11  public:
12  Sensor(const std::string& name="");
13  virtual ~Sensor();
14  inline std::string getName() const {return m_name;}
15  inline void setName(const std::string& name) {m_name=name;}
16  protected:
17  std::string m_name;
18 };
19 
20 typedef std::map<std::string, Sensor*> SensorMap;
21 
22 }; //end namespace
23 
24 #endif
25 
std::string m_name
Definition: sensor.h:17
void setName(const std::string &name)
Definition: sensor.h:15
std::map< std::string, Sensor * > SensorMap
Definition: sensor.h:20
std::string getName() const
Definition: sensor.h:14


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Mon Feb 28 2022 22:59:20