Wyatt  1.0.1
Public Member Functions | List of all members
ISensor Class Referenceabstract

#include <ISensor.h>

Inheritance diagram for ISensor:
Inheritance graph
[legend]

Public Member Functions

virtual void updateSensor (IMessage *message)=0
 
virtual ~ISensor ()
 

Detailed Description

Interface for all sensors. All sensors must expose a method to update them.

Definition at line 7 of file ISensor.h.

Constructor & Destructor Documentation

virtual ISensor::~ISensor ( )
inlinevirtual

Deconstructor. Should delete all pointers.

Definition at line 19 of file ISensor.h.

Member Function Documentation

virtual void ISensor::updateSensor ( IMessage message)
pure virtual

Update sensor data from a new measurement

Parameters
dataRawSensorData from a new measurement. Should delete pointer.

Implemented in EncoderSensor, IRangeFinderSensor, and MockIRRangeFinderSensor.


The documentation for this class was generated from the following file: