QGIS API Documentation  3.9.0-Master (3ff8ca5736)
Public Types | Public Member Functions | Public Attributes | List of all members
QgsGpsInformation Struct Reference

#include <qgsgpsconnection.h>

Public Types

enum  FixStatus { NoData, NoFix, Fix2D, Fix3D }
 GPS fix status. More...
 

Public Member Functions

FixStatus fixStatus () const
 Returns the fix status. More...
 
bool isValid () const
 Returns whether the connection information is valid. More...
 

Public Attributes

double direction = 0
 
double elevation = 0
 
QChar fixMode
 
int fixType = 0
 
double hacc = -1
 
double hdop = 0
 
double latitude = 0
 
double longitude = 0
 
double pdop = 0
 
int quality = -1
 
QList< QgsSatelliteInfosatellitesInView
 
int satellitesUsed = 0
 
bool satInfoComplete = false
 
QList< int > satPrn
 
double speed = 0
 
QChar status
 
QDateTime utcDateTime
 
double vacc = -1
 
double vdop = 0
 

Detailed Description

Definition at line 39 of file qgsgpsconnection.h.

Member Enumeration Documentation

◆ FixStatus

GPS fix status.

Since
QGIS 3.10
Enumerator
NoData 
NoFix 
Fix2D 
Fix3D 

Definition at line 46 of file qgsgpsconnection.h.

Member Function Documentation

◆ fixStatus()

QgsGpsInformation::FixStatus QgsGpsInformation::fixStatus ( ) const

Returns the fix status.

Since
QGIS 3.10

Definition at line 50 of file qgsgpsconnection.cpp.

◆ isValid()

bool QgsGpsInformation::isValid ( ) const

Returns whether the connection information is valid.

Since
QGIS 3.10

Definition at line 31 of file qgsgpsconnection.cpp.

Member Data Documentation

◆ direction

double QgsGpsInformation::direction = 0

Definition at line 58 of file qgsgpsconnection.h.

◆ elevation

double QgsGpsInformation::elevation = 0

Definition at line 56 of file qgsgpsconnection.h.

◆ fixMode

QChar QgsGpsInformation::fixMode

Definition at line 66 of file qgsgpsconnection.h.

◆ fixType

int QgsGpsInformation::fixType = 0

Definition at line 67 of file qgsgpsconnection.h.

◆ hacc

double QgsGpsInformation::hacc = -1

Definition at line 63 of file qgsgpsconnection.h.

◆ hdop

double QgsGpsInformation::hdop = 0

Definition at line 61 of file qgsgpsconnection.h.

◆ latitude

double QgsGpsInformation::latitude = 0

Definition at line 54 of file qgsgpsconnection.h.

◆ longitude

double QgsGpsInformation::longitude = 0

Definition at line 55 of file qgsgpsconnection.h.

◆ pdop

double QgsGpsInformation::pdop = 0

Definition at line 60 of file qgsgpsconnection.h.

◆ quality

int QgsGpsInformation::quality = -1

Definition at line 68 of file qgsgpsconnection.h.

◆ satellitesInView

QList<QgsSatelliteInfo> QgsGpsInformation::satellitesInView

Definition at line 59 of file qgsgpsconnection.h.

◆ satellitesUsed

int QgsGpsInformation::satellitesUsed = 0

Definition at line 69 of file qgsgpsconnection.h.

◆ satInfoComplete

bool QgsGpsInformation::satInfoComplete = false

Definition at line 72 of file qgsgpsconnection.h.

◆ satPrn

QList<int> QgsGpsInformation::satPrn

Definition at line 71 of file qgsgpsconnection.h.

◆ speed

double QgsGpsInformation::speed = 0

Definition at line 57 of file qgsgpsconnection.h.

◆ status

QChar QgsGpsInformation::status

Definition at line 70 of file qgsgpsconnection.h.

◆ utcDateTime

QDateTime QgsGpsInformation::utcDateTime

Definition at line 65 of file qgsgpsconnection.h.

◆ vacc

double QgsGpsInformation::vacc = -1

Definition at line 64 of file qgsgpsconnection.h.

◆ vdop

double QgsGpsInformation::vdop = 0

Definition at line 62 of file qgsgpsconnection.h.


The documentation for this struct was generated from the following files: