8 #ifndef META_OCEAN_DEVICES_ANDROID_ANDROID_FACTORY_H
9 #define META_OCEAN_DEVICES_ANDROID_ANDROID_FACTORY_H
15 #include <android/sensor.h>
62 static 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);
151 const ASensor* sensorAccelerometer_ =
nullptr;
154 const ASensor* sensorLinearAccelerometer_ =
nullptr;
157 const ASensor* sensorRotationVector_ =
nullptr;
160 const ASensor* sensorGameRotationVector_ =
nullptr;
163 const ASensor* sensorGyroRaw_ =
nullptr;
166 const ASensor* sensorGyroUnbiased_ =
nullptr;
169 const ASensor* sensorGravity_ =
nullptr;
This class implements a device factory for the Android feature based tracking system.
Definition: AndroidFactory.h:31
static 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)
Sends a new GPS location to the tracker which is managed by this factory.
static bool unregisterFactory()
Unregisters this factory at the manger.
void registerDevices()
Registers all devices.
Device * createAndroidLinearAccelerationSensor3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF linear acceleration sensor.
Device * createAndroidGravityTracker3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF gravity tracker.
AndroidFactory()
Creates a new factory.
Device * createAndroidAccelerationSensor3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF acceleration sensor.
Device * createAndroidGPSTracker(const std::string &name, const Device::DeviceType &deviceType)
Creates a new GPS tracker.
static bool registerFactory()
Registers this factory at the manager.
Device * createAndroidHeadingTracker3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF heading tracker.
Device * createAndroidGyroUnbiasedSensor3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF unbiased gyro sensor.
Device * createAndroidOrientationTracker3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF orientation tracker.
Device * createAndroidGyroRawSensor3DOF(const std::string &name, const Device::DeviceType &deviceType)
Creates a new 3DOF raw gyro 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 devices of any type.
Definition: devices/Device.h:28
This class implements a factory able to create instances of devices.
Definition: devices/Factory.h:28
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15