8#ifndef META_OCEAN_DEVICES_ANDROID_ANDROID_GRAVITY_TRACKER_3_DOF_H
9#define META_OCEAN_DEVICES_ANDROID_ANDROID_GRAVITY_TRACKER_3_DOF_H
71 return std::string(
"Android 3DOF Gravity Tracker");
AndroidEventDevice(const std::string &name, const DeviceType type)
Creates a new event device by its name and type.
friend class AndroidFactory
Definition AndroidGravityTracker3DOF.h:34
static std::string deviceNameAndroidGravityTracker3DOF()
Returns the name of this tracker.
Definition AndroidGravityTracker3DOF.h:69
~AndroidGravityTracker3DOF() override
Destructs a 3DOF gravity tracker device.
bool waitingForFirstSample_
True, if the sensor has not yet seen any sample.
Definition AndroidGravityTracker3DOF.h:66
AndroidGravityTracker3DOF(const ASensor *sensor)
Creates a new 3DOF gravity tracker device.
int onEventFunction() override
The actual event function of this device.
GravityTracker3DOF(const std::string &name)
Creates a new 3DOF gravity tracker object.
Namespace of the Devices Android library.
Definition devices/android/Android.h:20
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15