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 
GMapping::SensorMap
std::map< std::string, Sensor * > SensorMap
Definition: sensor.h:20
GMapping
Definition: configfile.cpp:34
GMapping::Sensor::getName
std::string getName() const
Definition: sensor.h:14
GMapping::Sensor::setName
void setName(const std::string &name)
Definition: sensor.h:15
GMapping::Sensor
Definition: sensor.h:10
GMapping::Sensor::m_name
std::string m_name
Definition: sensor.h:17


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Thu Oct 19 2023 02:25:51