39 #ifndef SENSORINTERFACE_HPP 40 #define SENSORINTERFACE_HPP 44 #ifdef ORO_PRAGMA_INTERFACE 65 template <
class SensorData>
67 :
public CalibrationInterface
80 virtual int readSensor( DataType& p )
const = 0;
107 #endif // SENSORINTERFACE_HPP virtual ~SensorInterface()
virtual DataType zeroMeasurement() const =0
Returns the value which would be given with the sensor in ideal rest.
virtual DataType maxMeasurement() const =0
Returns the maximum value this sensor can read.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
virtual DataType readSensor() const =0
Return the last measurement.
virtual DataType minMeasurement() const =0
Returns the minimum value this sensor can read.