8 #ifndef META_OCEAN_DEVICES_IOS_IOS_GRAVITY_TRACKER_3_DOF_H
9 #define META_OCEAN_DEVICES_IOS_IOS_GRAVITY_TRACKER_3_DOF_H
61 static inline std::string deviceNameIOSGravityTracker3DOF();
94 return std::string(
"IOS 3DOF Gravity Tracker");
This class implements a device for the IOS library.
Definition: IOSDevice.h:29
This class implements a device factory for the IOS feature based tracking system.
Definition: IOSFactory.h:29
This class implements a tracker providing the gravity direction as 3-DOF orientation.
Definition: IOSGravityTracker3DOF.h:34
static std::string deviceNameIOSGravityTracker3DOF()
Returns the name of this sensor.
Definition: IOSGravityTracker3DOF.h:92
void onDeviceMotion(CMDeviceMotion *deviceMotion)
Callback function for obtaining new samples from the device.
bool start() override
Starts the device.
IOSGravityTracker3DOF()
Creates a new 3DOF gravity tracker device.
~IOSGravityTracker3DOF() override
Destructs a 3DOF gravity sensor device.
bool pause() override
Pauses the device.
bool stop() override
Stops the device.
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
unsigned int ObjectId
Definition of an object id.
Definition: Measurement.h:46
This class is the base class for all 3DOF orientation tracker objects.
Definition: OrientationTracker3DOF.h:38
const ObjectId invalidObjectId
Definition of an invalid object id.
Definition: rendering/Rendering.h:65
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15