ubuntu-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
A space-vehicle as visible to providers. More...
#include <space_vehicle.h>
Classes | |
struct | Key |
Uniquely identifies a space vehicle, given its type and its id. More... | |
Public Types | |
enum class | Type { unknown , beidou , galileo , glonass , gps , compass , irnss , qzss } |
Enumerates all known space-vehicle types. More... | |
typedef std::uint32_t | Id |
Numeric Id of an individual SpaceVehicle. More... | |
Public Member Functions | |
bool | operator== (const SpaceVehicle &rhs) const |
bool | operator< (const SpaceVehicle &rhs) const |
Public Attributes | |
Key | key |
Unique key identifying an instance. More... | |
float | snr = -std::numeric_limits<float>::max() |
Signal to noise ratio;. More... | |
bool | has_almanac_data = false |
Almanac data available for this vehicle. More... | |
bool | has_ephimeris_data = false |
Ephimeris data is available for this vehicle. More... | |
bool | used_in_fix = false |
This vehicle has been used to obtain a fix. More... | |
units::Quantity< units::PlaneAngle > | azimuth |
Azimuth of SV. More... | |
units::Quantity< units::PlaneAngle > | elevation |
Elevation of SV. More... | |
A space-vehicle as visible to providers.
Definition at line 33 of file space_vehicle.h.
typedef std::uint32_t com::ubuntu::location::SpaceVehicle::Id |
Numeric Id of an individual SpaceVehicle.
Definition at line 36 of file space_vehicle.h.
|
strong |
Enumerates all known space-vehicle types.
Definition at line 39 of file space_vehicle.h.
|
inline |
Definition at line 81 of file space_vehicle.h.
References key.
|
inline |
Definition at line 71 of file space_vehicle.h.
References azimuth, elevation, has_almanac_data, has_ephimeris_data, key, com::ubuntu::location::units::roughly_equals(), and used_in_fix.
units::Quantity<units::PlaneAngle> com::ubuntu::location::SpaceVehicle::azimuth |
Azimuth of SV.
Definition at line 91 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), com::ubuntu::location::operator<<(), and operator==().
units::Quantity<units::PlaneAngle> com::ubuntu::location::SpaceVehicle::elevation |
Elevation of SV.
Definition at line 92 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), com::ubuntu::location::operator<<(), and operator==().
bool com::ubuntu::location::SpaceVehicle::has_almanac_data = false |
Almanac data available for this vehicle.
Definition at line 88 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), com::ubuntu::location::operator<<(), and operator==().
bool com::ubuntu::location::SpaceVehicle::has_ephimeris_data = false |
Ephimeris data is available for this vehicle.
Definition at line 89 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), com::ubuntu::location::operator<<(), and operator==().
Key com::ubuntu::location::SpaceVehicle::key |
Unique key identifying an instance.
Definition at line 86 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< std::map< com::ubuntu::location::SpaceVehicle::Key, com::ubuntu::location::SpaceVehicle > >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), operator<(), com::ubuntu::location::operator<<(), and operator==().
float com::ubuntu::location::SpaceVehicle::snr = -std::numeric_limits<float>::max() |
Signal to noise ratio;.
Definition at line 87 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), and com::ubuntu::location::operator<<().
bool com::ubuntu::location::SpaceVehicle::used_in_fix = false |
This vehicle has been used to obtain a fix.
Definition at line 90 of file space_vehicle.h.
Referenced by core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::decode_argument(), core::dbus::Codec< com::ubuntu::location::SpaceVehicle >::encode_argument(), com::ubuntu::location::operator<<(), and operator==().