QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
Loading...
Searching...
No Matches
QgsSatelliteInfo Class Reference

Encapsulates information relating to a GPS satellite. More...

#include <qgssatelliteinformation.h>

Public Member Functions

Qgis::GnssConstellation constellation () const
 Returns the GNSS constellation associated with the information.
bool operator!= (const QgsSatelliteInfo &other) const
bool operator== (const QgsSatelliteInfo &other) const

Public Attributes

double azimuth = std::numeric_limits< double >::quiet_NaN()
 The azimuth of the satellite to true north, in degrees.
double elevation = std::numeric_limits< double >::quiet_NaN()
 Elevation of the satellite, in degrees.
int id = 0
 Contains the satellite identifier number.
bool inUse = false
 true if satellite was used in obtaining the position fix.
QChar satType
 satType value from NMEA message $GxGSV, where x: P = GPS; S = SBAS (GPSid> 32 then SBasid = GPSid + 87); N = generic satellite; L = GLONASS; A = GALILEO; B = BEIDOU; Q = QZSS;
int signal = -1
 Signal strength (0-99dB), or -1 if not available.

Friends

class QgsNmeaConnection

Detailed Description

Encapsulates information relating to a GPS satellite.

Definition at line 33 of file qgssatelliteinformation.h.

Member Function Documentation

◆ constellation()

Qgis::GnssConstellation QgsSatelliteInfo::constellation ( ) const
inline

Returns the GNSS constellation associated with the information.

Since
QGIS 3.30

Definition at line 94 of file qgssatelliteinformation.h.

◆ operator!=()

bool QgsSatelliteInfo::operator!= ( const QgsSatelliteInfo & other) const
inline

Definition at line 101 of file qgssatelliteinformation.h.

◆ operator==()

bool QgsSatelliteInfo::operator== ( const QgsSatelliteInfo & other) const
inline

Definition at line 96 of file qgssatelliteinformation.h.

◆ QgsNmeaConnection

friend class QgsNmeaConnection
friend

Definition at line 106 of file qgssatelliteinformation.h.

Member Data Documentation

◆ azimuth

double QgsSatelliteInfo::azimuth = std::numeric_limits< double >::quiet_NaN()

The azimuth of the satellite to true north, in degrees.

Definition at line 69 of file qgssatelliteinformation.h.

◆ elevation

double QgsSatelliteInfo::elevation = std::numeric_limits< double >::quiet_NaN()

Elevation of the satellite, in degrees.

Definition at line 55 of file qgssatelliteinformation.h.

◆ id

int QgsSatelliteInfo::id = 0

Contains the satellite identifier number.

The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.

Definition at line 43 of file qgssatelliteinformation.h.

◆ inUse

bool QgsSatelliteInfo::inUse = false

true if satellite was used in obtaining the position fix.

Definition at line 48 of file qgssatelliteinformation.h.

◆ satType

QChar QgsSatelliteInfo::satType

satType value from NMEA message $GxGSV, where x: P = GPS; S = SBAS (GPSid> 32 then SBasid = GPSid + 87); N = generic satellite; L = GLONASS; A = GALILEO; B = BEIDOU; Q = QZSS;

Definition at line 87 of file qgssatelliteinformation.h.

◆ signal

int QgsSatelliteInfo::signal = -1

Signal strength (0-99dB), or -1 if not available.

Definition at line 81 of file qgssatelliteinformation.h.


The documentation for this class was generated from the following file: