00001 #ifndef SENSORREADING_H 00002 #define SENSORREADING_H 00003 00004 #include "sensor.h" 00005 namespace GMapping{ 00006 00007 class SensorReading{ 00008 public: 00009 SensorReading(const Sensor* s=0, double time=0); 00010 inline double getTime() const {return m_time;} 00011 inline const Sensor* getSensor() const {return m_sensor;} 00012 protected: 00013 double m_time; 00014 const Sensor* m_sensor; 00015 }; 00016 00017 }; //end namespace 00018 #endif