8#ifndef META_OCEAN_DEVICES_IOS_IOS_GPS_TRACKER_H
9#define META_OCEAN_DEVICES_IOS_IOS_GPS_TRACKER_H
16#include <CoreLocation/CoreLocation.h>
73 void newGPSLocation(
const double latitude,
const double longitude,
const float altitude,
const float direction,
const float speed,
const float accuracy,
const float altitudeAccuracy,
const float directionAccuracy,
const float speedAccuracy,
const Timestamp& timestamp);
113 return std::string(
"IOS GPS Tracker");
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
GPSTracker(const std::string &name)
Creates a new GPS tracker object.
static DeviceType deviceTypeGPSTracker()
Returns the device type of this tracker.
Definition GPSTracker.h:362
IOSDevice(const std::string &name, const DeviceType type)
Creates a new device by is name.
Timestamp lastTimestamp_
The timestamp of the last GPS signal;.
Definition IOSGPSTracker.h:105
IOSGPSTrackerDelegate * iosGPSTrackerDelegate_
The delegate of the IOS GPS Tracker.
Definition IOSGPSTracker.h:102
~IOSGPSTracker() override
Destructs a GPS tracker device.
IOSGPSTracker()
Creates a new GPS tracker device.
friend class IOSFactory
Definition IOSGPSTracker.h:38
bool stop() override
Stops the device.
ObjectId gpsObjectId_
The unique id for the world object.
Definition IOSGPSTracker.h:108
bool pause() override
Pauses the device.
void newGPSLocation(const double latitude, const double longitude, const float altitude, const float direction, const float speed, const float accuracy, const float altitudeAccuracy, const float directionAccuracy, const float speedAccuracy, const Timestamp ×tamp)
Sets a new GPS location for this tracker.
static std::string deviceNameIOSGPSTracker()
Returns the name of this tracker.
Definition IOSGPSTracker.h:111
bool start() override
Starts the device.
static DeviceType deviceTypeIOSGPSTracker()
Returns the device type of this tracker.
Definition IOSGPSTracker.h:116
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
This class implements a timestamp.
Definition Timestamp.h:64
Definition IOSGPSTracker.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15