8 #ifndef META_OCEAN_DEVICES_ANDROID_ANDROID_GYRO_SENSOR_3_DOF_H
9 #define META_OCEAN_DEVICES_ANDROID_ANDROID_GYRO_SENSOR_3_DOF_H
42 static inline std::string deviceNameAndroidGyroSensor3DOF(
const SensorType sensorType);
74 int64_t firstAndroidEventTimestamp_ = 0ll;
86 return std::string(
"Android 3DOF Gyro Raw Sensor");
89 return std::string(
"Android 3DOF Gyro Unbiased Sensor");
This class implements a device factory for the Android feature based tracking system.
Definition: AndroidFactory.h:31
This class implements all 3DOF acceleration sensors (including the linear acceleration sensors).
Definition: AndroidGyroSensor3DOF.h:32
~AndroidGyroSensor3DOF() override
Destructs a 3DOF acceleration sensor device.
static DeviceType deviceTypeAndroidGyroSensor3DOF(const SensorType sensorType)
Returns the device type of this sensor.
Definition: AndroidGyroSensor3DOF.h:92
int onEventFunction() override
The actual event function of this device.
static std::string deviceNameAndroidGyroSensor3DOF(const SensorType sensorType)
Returns the name of this sensor.
Definition: AndroidGyroSensor3DOF.h:80
AndroidGyroSensor3DOF(const SensorType sensorType, const ASensor *sensor)
Creates a new 3DOF acceleration sensor device.
This class implements a sensor for the Android library.
Definition: AndroidSensor.h:41
Definition of a class holding the major and minor device type.
Definition: devices/Device.h:62
This class is the base class for all 3DOF gyro sensors.
Definition: GyroSensor3DOF.h:40
static DeviceType deviceTypeGyroSensor3DOF(const SensorType sensorType)
Returns this device type.
Definition: GyroSensor3DOF.h:116
SensorType
Definition of different sensor types.
Definition: Sensor.h:43
@ SENSOR_GYRO_RAW_3DOF
3DOF gyro sensor (raw samples).
Definition: Sensor.h:51
@ SENSOR_GYRO_UNBIASED_3DOF
3DOF gyro sensor (unbiased samples).
Definition: Sensor.h:53
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15