QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
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;
249 if ( sipCpp->inherits(
"QgsGpsdConnection" ) )
250 sipType = sipType_QgsGpsdConnection;
251 else if ( sipCpp->inherits(
"QgsNmeaConnection" ) )
252 sipType = sipType_QgsNmeaConnection;
291 void nmeaSentenceReceived(
const QString &substring );
303 void cleanupSource();
304 void clearLastGPSInformation();
308 virtual void parseData() = 0;
311 #endif // QGSGPSCONNECTION_H
QgsGpsInformation currentGPSInformation() const
Returns the current gps information (lat, lon, etc.)
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, ...)