QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | Public Attributes | List of all members
QgsSatelliteInfo Class Reference

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

#include <qgsgpsconnection.h>

Public Member Functions

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. More...
 
double elevation = std::numeric_limits< double >::quiet_NaN()
 Elevation of the satellite, in degrees. More...
 
int id = 0
 Contains the satellite identifier number. More...
 
bool inUse = false
 true if satellite was used in obtaining the position fix. More...
 
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; More...
 
int signal = -1
 Signal strength (0-99dB), or -1 if not available. More...
 

Detailed Description

Encapsulates information relating to a GPS satellite.

Definition at line 41 of file qgsgpsconnection.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 108 of file qgsgpsconnection.h.

◆ operator==()

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

Definition at line 98 of file qgsgpsconnection.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 78 of file qgsgpsconnection.h.

◆ elevation

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

Elevation of the satellite, in degrees.

Definition at line 64 of file qgsgpsconnection.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 52 of file qgsgpsconnection.h.

◆ inUse

bool QgsSatelliteInfo::inUse = false

true if satellite was used in obtaining the position fix.

Definition at line 57 of file qgsgpsconnection.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 96 of file qgsgpsconnection.h.

◆ signal

int QgsSatelliteInfo::signal = -1

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

Definition at line 90 of file qgsgpsconnection.h.


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