8#ifndef META_OCEAN_DEVICES_IOS_IOS_HEADING_TRACKER_3_DOF_H
9#define META_OCEAN_DEVICES_IOS_IOS_HEADING_TRACKER_3_DOF_H
97 return std::string(
"IOS 3DOF Heading Tracker");
IOSDevice(const std::string &name, const DeviceType type)
Creates a new device by is name.
static std::string deviceNameIOSHeadingTracker3DOF()
Returns the name of this sensor.
Definition IOSHeadingTracker3DOF.h:95
void onDeviceMotion(CMDeviceMotion *deviceMotion)
Callback function for obtaining new samples from the device.
MotionManager::ListenerId deviceMotionListenerId_
Definition IOSHeadingTracker3DOF.h:86
friend class IOSFactory
Definition IOSHeadingTracker3DOF.h:35
ObjectId trackerObjectId_
The object id of this tracker.
Definition IOSHeadingTracker3DOF.h:89
IOSHeadingTracker3DOF()
Creates a new 3DOF gravity tracker device.
bool waitingForFirstSample_
True, if the sensor has not yet seen any sample.
Definition IOSHeadingTracker3DOF.h:92
bool stop() override
Stops the device.
~IOSHeadingTracker3DOF() override
Destructs a 3DOF gravity sensor device.
bool pause() override
Pauses the device.
bool start() override
Starts 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
static constexpr ObjectId invalidObjectId()
Returns an invalid object id.
Definition Measurement.h:631
uint32_t ObjectId
Definition of an object id.
Definition Measurement.h:47
OrientationTracker3DOF(const std::string &name)
Creates a new 3DOF orientation tracker object.
Namespace of the Devices IOS library.
Definition devices/ios/IOS.h:20
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15