1 #ifndef __blip_MagneticFieldSensorEvent_hpp 2 #define __blip_MagneticFieldSensorEvent_hpp 45 #endif // __blip_MagneticFieldSensorEvent_hpp
float getValue(int index) const
Get a sensor value.
float getFieldX() const
Get the ambient magnetic field in the X-axis.
Definition: MagneticFieldSensorEvent.hpp:27
virtual ~MagneticFieldSensorEvent()
Destructor.
Definition: MagneticFieldSensorEvent.cpp:17
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
float getFieldZ() const
Get the ambient magnetic field in the Z-axis.
Definition: MagneticFieldSensorEvent.hpp:35
Accuracy
Sensor accuracy ratings.
Definition: SensorEvent.hpp:13
A magnetic field sensor event, which measures the ambient magnetic field.
Definition: MagneticFieldSensorEvent.hpp:14
float getFieldY() const
Get the ambient magnetic field in the Y-axis.
Definition: MagneticFieldSensorEvent.hpp:31