QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
18 #ifndef QGSGPSCONNECTION_H
19 #define QGSGPSCONNECTION_H
26 #include "qgis_core.h"
64 double elevation = std::numeric_limits< double >::quiet_NaN();
78 double azimuth = std::numeric_limits< double >::quiet_NaN();
124 double longitude = 0;
129 double elevation = 0;
141 double direction = std::numeric_limits< double >::quiet_NaN();
171 double hacc = std::numeric_limits< double >::quiet_NaN();
174 double vacc = std::numeric_limits< double >::quiet_NaN();
205 int satellitesUsed = 0;
220 bool satInfoComplete =
false;
226 bool isValid()
const;
239 QString qualityDescription()
const;
256 if ( sipCpp->inherits(
"QgsGpsdConnection" ) )
257 sipType = sipType_QgsGpsdConnection;
258 else if ( sipCpp->inherits(
"QgsNmeaConnection" ) )
259 sipType = sipType_QgsNmeaConnection;
310 void cleanupSource();
311 void clearLastGPSInformation();
318 #endif // QGSGPSCONNECTION_H
void stateChanged(const QgsGpsInformation &info)
void nmeaSentenceReceived(const QString &substring)
QgsGpsInformation currentGPSInformation() const
Returns the current gps information (lat, lon, etc.)
Encapsulates information relating to a GPS satellite.
Status status() const
Returns the status. Possible state are not connected, connected, data received.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
std::unique_ptr< QIODevice > mSource
Data source (e.g. serial device, socket, file,...)
QgsGpsInformation mLastGPSInformation
Last state of the gps related variables (e.g. position, time, ...)
virtual void parseData()=0
Parse available data source content.
Abstract base class for connection to a GPS device.