ZotBins Core
|
Interface (abstract) class for mock and real hardware ultrasonic (fullness/distance) sensor. Used to inherit the getDistance method in derived classes. More...
#include <IDistance.hpp>
Public Member Functions | |
virtual int32_t | getDistance ()=0 |
Returns the distance of the sensor. | |
Interface (abstract) class for mock and real hardware ultrasonic (fullness/distance) sensor. Used to inherit the getDistance method in derived classes.
|
pure virtual |
Returns the distance of the sensor.
Implemented in Fullness::MockDistance.