Wyatt
1.0.1
|
#include <IRangeFinderSensor.h>
Public Member Functions | |
virtual | ~IRangeFinderSensor () override |
virtual void | updateSensor (IMessage *msg) override=0 |
virtual double | getDistanceCM ()=0 |
Public Member Functions inherited from ISensor | |
virtual | ~ISensor () |
Interface for range finding sensors.
Definition at line 7 of file IRangeFinderSensor.h.
|
inlineoverridevirtual |
Deconstructor. Deletes all pointer references.
Definition at line 13 of file IRangeFinderSensor.h.
|
pure virtual |
Returns the most recent distance reading in centimeters.
Implemented in MockIRRangeFinderSensor.
|
overridepure virtual |
Update this sensor object with data received from a peripheral. Deletes data upon completion.
data | The data received from the peripheral. |
Implements ISensor.
Implemented in MockIRRangeFinderSensor.