The sensor class defines the interface for all of the sensors. More...
#include <Sensor.h>
Inherited by uvsim::Camera, and uvsim::Imu6DofSensor.
Public Member Functions | |
Sensor () | |
Sensor constructor. | |
virtual | ~Sensor () |
Virtual deconstructor. | |
virtual void | update ()=0 |
Read the sensor data. |
The sensor class defines the interface for all of the sensors.
This is an abstract class since read must be implemented.
Definition at line 18 of file Sensor.h.
uvsim::Sensor::~Sensor | ( | ) | [virtual] |
virtual void uvsim::Sensor::update | ( | ) | [pure virtual] |
Read the sensor data.
This is pure virtual since each sensor must implement the read function.
Implemented in uvsim::Camera, and uvsim::Imu6DofSensor.