8 #ifndef META_OCEAN_DEVICES_IOS_IOS_GYRO_SENSOR_3_DOF_H
9 #define META_OCEAN_DEVICES_IOS_IOS_GYRO_SENSOR_3_DOF_H
61 static inline std::string deviceNameIOSGyroSensor3DOF(
const SensorType sensorType);
103 return std::string(
"IOS 3DOF Gyro Raw Sensor");
106 return std::string(
"IOS 3DOF Gyro Unbiased Sensor");
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
This class implements a device factory for the IOS feature based tracking system.
Definition: IOSFactory.h:29
This class implements all 3DOF gyro sensors (including the raw and unbiased gyro sensors).
Definition: IOSGyroSensor3DOF.h:33
virtual ~IOSGyroSensor3DOF()
Destructs a 3DOF gyro sensor device.
virtual bool start()
Starts the device.
virtual bool pause()
Pauses the device.
IOSGyroSensor3DOF(const SensorType sensorType)
Creates a new 3DOF gyro sensor device.
static DeviceType deviceTypeIOSGyroSensor3DOF(const SensorType sensorType)
Returns the device type of this sensor.
Definition: IOSGyroSensor3DOF.h:109
static std::string deviceNameIOSGyroSensor3DOF(const SensorType sensorType)
Returns the name of this sensor.
Definition: IOSGyroSensor3DOF.h:97
virtual bool stop()
Stops the device.
void onDeviceMotion(CMDeviceMotion *deviceMotion)
Callback function when using SENSOR_GYRO_UNBIASED_3DOF.
This class implements a sensor for the IOS library.
Definition: IOSSensor.h:36
static constexpr ListenerId invalidListenerId()
Returns an invalid listener id.
Definition: MotionManager.h:121
unsigned int ListenerId
Definition of a listener id for a registered callbacks.
Definition: MotionManager.h:43
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
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15