1 #ifndef __blip_SensorEvent_hpp 2 #define __blip_SensorEvent_hpp 10 class SensorEventQueue;
31 {
return(_accuracy); }
40 float getValue(
int index)
const throw();
43 {
return(_eventTime); }
47 {
return(_sensorType); }
69 #endif // __blip_SensorEvent_hpp Type
Sensor types.
Definition: Sensor.hpp:25
friend class SensorEventQueue
Definition: SensorEvent.hpp:22
float getValue(int index) const
Get a sensor value.
An abstract base class for all application events.
Definition: Event.hpp:12
Definition: SensorEvent.hpp:14
virtual ~SensorEvent()
Destructor.
Definition: SensorEvent.cpp:24
An abstract base class for sensor events.
Definition: SensorEvent.hpp:20
Definition: SensorEvent.hpp:13
Sensor::Type getSensorType() const
Get the sensor type.
Definition: SensorEvent.hpp:46
WAV file format details at: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/.
Definition: AccelerometerSensorEvent.cpp:3
virtual time_ms_t getEventTime() const
Get the time at which this event occurred.
Definition: SensorEvent.hpp:42
Accuracy getAccuracy() const
Get the accuracy of the sensor event values.
Definition: SensorEvent.hpp:30
Definition: SensorEvent.hpp:14
Definition: SensorEvent.hpp:13
Accuracy
Sensor accuracy ratings.
Definition: SensorEvent.hpp:13
Definition: SensorEvent.hpp:13