sensorreading.h
Go to the documentation of this file.
1 #ifndef SENSORREADING_H
2 #define SENSORREADING_H
3 
5 #include <gmapping/sensor/sensor_base/sensor_base_export.h>
6 
7 namespace GMapping{
8 
9 class SENSOR_BASE_EXPORT SensorReading{
10  public:
11  SensorReading(const Sensor* s=0, double time=0);
12  virtual ~SensorReading();
13  inline double getTime() const {return m_time;}
14  inline void setTime(double t) {m_time=t;}
15  inline const Sensor* getSensor() const {return m_sensor;}
16  protected:
17  double m_time;
18  const Sensor* m_sensor;
19 
20 };
21 
22 }; //end namespace
23 #endif
24 
25 
GMapping
Definition: configfile.cpp:34
sensor.h
GMapping::SensorReading::setTime
void setTime(double t)
Definition: sensorreading.h:14
GMapping::Sensor
Definition: sensor.h:10
GMapping::SensorReading::getTime
double getTime() const
Definition: sensorreading.h:13
GMapping::SensorReading::getSensor
const Sensor * getSensor() const
Definition: sensorreading.h:15


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