8 #ifndef META_OCEAN_DEVICES_ANDROID_ANDROID_ACCELERATION_SENSOR_3_DOF_H
9 #define META_OCEAN_DEVICES_ANDROID_ANDROID_ACCELERATION_SENSOR_3_DOF_H
42 static inline std::string deviceNameAndroidAccelerationSensor3DOF(
const SensorType sensorType);
74 int64_t firstAndroidEventTimestamp_ = 0ll;
86 return std::string(
"Android 3DOF Acceleration Sensor");
89 return std::string(
"Android 3DOF Linear Acceleration Sensor");
This class is the base class for all 3DOF acceleration sensors.
Definition: AccelerationSensor3DOF.h:40
static DeviceType deviceTypeAccelerationSensor3DOF(const SensorType sensorType)
Returns this device type.
Definition: AccelerationSensor3DOF.h:118
This class implements all 3DOF acceleration sensors (including the linear acceleration sensors).
Definition: AndroidAccelerationSensor3DOF.h:32
AndroidAccelerationSensor3DOF(const SensorType sensorType, const ASensor *sensor)
Creates a new 3DOF acceleration sensor device.
~AndroidAccelerationSensor3DOF() override
Destructs a 3DOF acceleration sensor device.
static DeviceType deviceTypeAndroidAccelerationSensor3DOF(const SensorType sensorType)
Returns the device type of this sensor.
Definition: AndroidAccelerationSensor3DOF.h:92
static std::string deviceNameAndroidAccelerationSensor3DOF(const SensorType sensorType)
Returns the name of this sensor.
Definition: AndroidAccelerationSensor3DOF.h:80
int onEventFunction() override
The actual event function of this device.
This class implements a device factory for the Android feature based tracking system.
Definition: AndroidFactory.h:31
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
SensorType
Definition of different sensor types.
Definition: Sensor.h:43
@ SENSOR_ACCELERATION_3DOF
3DOF acceleration sensor.
Definition: Sensor.h:47
@ SENSOR_LINEAR_ACCELERATION_3DOF
3DOF linear acceleration sensor (excluding gravity).
Definition: Sensor.h:49
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15