API Documentation
Loading...
Searching...
No Matches
GNSSManager.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/PositionSensor.h>
4namespace NDEVR
5{
6 struct GNSSRole
7 {
9 : role(role)
10 , id(id)
11 {}
14 };
16 {
17 public:
18 virtual UUID uuid() const = 0;
19 virtual PositionSensor* getGNSSDevice(const UUID& id) = 0;
21 };
38}
#define HARDWARE_API
Definition DLLInfo.h:74
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
A hash-based key-value store, useful for quick associative lookups.
Definition Dictionary.h:59
Definition GNSSManager.h:16
virtual PositionSensor * getGNSSDevice(const UUID &id)=0
virtual UUID uuid() const =0
virtual Buffer< PositionSensor * > availableGNSSDevices() const =0
Definition GNSSManager.h:23
Dictionary< UUID, GNSSInterface * > m_interfaces
Definition GNSSManager.h:35
PositionSensor * getGNSSDevice(const UUID &id) const
Buffer< GNSSRole > m_gnss_roles
Definition GNSSManager.h:36
Buffer< GNSSRole > availableRoles() const
void addGNSSRole(const GNSSRole &role)
void addGNSSInterface(GNSSInterface *)
Buffer< PositionSensor * > availableGNSSDevices() const
void removeGNSSInteface(const UUID &id)
static GNSSManager & DefaultInstance()
Definition PositionSensor.h:50
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:62
Definition ACIColor.h:37
Definition GNSSManager.h:7
GNSSRole(UUID id, const TranslatedString &role)
Definition GNSSManager.h:8
UUID id
Definition GNSSManager.h:13
TranslatedString role
Definition GNSSManager.h:12