1 #ifndef __blip_ProximitySensorEvent_hpp 2 #define __blip_ProximitySensorEvent_hpp 36 #endif // __blip_ProximitySensorEvent_hpp
float getValue(int index) const
Get a sensor value.
float getDistance() const
Get the distance to the nearby object.
Definition: ProximitySensorEvent.hpp:26
An abstract base class for sensor events.
Definition: SensorEvent.hpp:20
WAV file format details at: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/.
Definition: AccelerometerSensorEvent.cpp:3
A proximity sensor event, which measures the distance to a nearby object.
Definition: ProximitySensorEvent.hpp:14
virtual ~ProximitySensorEvent()
Destructor.
Definition: ProximitySensorEvent.cpp:17