sensorreading.h
来自「Particle filtering implementation and ap」· C头文件 代码 · 共 27 行
H
27 行
#ifndef SENSORREADING_H#define SENSORREADING_H#include "sensor.h"namespace GMapping{class SensorReading{ public: SensorReading(const Sensor* s=0, double time=0); virtual ~SensorReading(); inline double getTime() const {return m_time;} inline void setTime(double t) {m_time=t;} inline std::string getHost() const {return m_host;} inline void setHost(std::string h) {m_host=h;} inline const Sensor* getSensor() const {return m_sensor;} protected: double m_time; std::string m_host; const Sensor* m_sensor;};}; //end namespace#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?