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 
const Sensor * getSensor() const
Definition: sensorreading.h:15
double getTime() const
Definition: sensorreading.h:13
void setTime(double t)
Definition: sensorreading.h:14


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