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 
7 namespace GMapping{
8 
9 class Sensor{
10  public:
11  Sensor(const std::string& name="");
12  virtual ~Sensor();
13  inline std::string getName() const {return m_name;}
14  inline void setName(const std::string& name) {m_name=name;}
15  protected:
16  std::string m_name;
17 };
18 
19 typedef std::map<std::string, Sensor*> SensorMap;
20 
21 }; //end namespace
22 
23 #endif
24 
std::string m_name
Definition: sensor.h:16
void setName(const std::string &name)
Definition: sensor.h:14
std::map< std::string, Sensor * > SensorMap
Definition: sensor.h:19
std::string getName() const
Definition: sensor.h:13
Sensor(const std::string &name="")
Definition: sensor.cpp:5
virtual ~Sensor()
Definition: sensor.cpp:9


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22