Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split out qgsgpsconnection files into modular components
- Loading branch information
1 parent
60e2c98
commit 3e818b9
Showing
11 changed files
with
727 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
python/core/auto_generated/gps/qgsgpsinformation.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/gps/qgsgpsinformation.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
class QgsGpsInformation | ||
{ | ||
%Docstring(signature="appended") | ||
Encapsulates information relating to a GPS position fix. | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsgpsinformation.h" | ||
%End | ||
public: | ||
|
||
double latitude; | ||
|
||
double longitude; | ||
|
||
double elevation; | ||
|
||
double elevation_diff; | ||
|
||
double speed; | ||
|
||
|
||
double direction; | ||
|
||
QList<QgsSatelliteInfo> satellitesInView; | ||
|
||
double pdop; | ||
|
||
double hdop; | ||
|
||
double vdop; | ||
|
||
//! Horizontal accuracy in meters | ||
double hacc; | ||
//! Vertical accuracy in meters | ||
double vacc; | ||
|
||
double hvacc; | ||
|
||
QDateTime utcDateTime; | ||
|
||
QChar fixMode; | ||
|
||
int fixType; | ||
|
||
QMap< Qgis::GnssConstellation, Qgis::GpsFixStatus > constellationFixStatus() const; | ||
%Docstring | ||
Returns a map of GNSS constellation to fix status. | ||
|
||
.. versionadded:: 3.30 | ||
%End | ||
|
||
Qgis::GpsFixStatus bestFixStatus( Qgis::GnssConstellation &constellation /Out/ ) const; | ||
%Docstring | ||
Returns the best fix status and corresponding constellation. | ||
|
||
|
||
:return: - best current fix status | ||
- constellation: will be set to the constellation with best fix status | ||
|
||
.. versionadded:: 3.30 | ||
%End | ||
|
||
int quality; | ||
|
||
Qgis::GpsQualityIndicator qualityIndicator; | ||
|
||
int satellitesUsed; | ||
|
||
QChar status; | ||
|
||
QList<int> satPrn; | ||
|
||
bool satInfoComplete; | ||
|
||
bool isValid() const; | ||
%Docstring | ||
Returns whether the connection information is valid | ||
|
||
.. versionadded:: 3.10 | ||
%End | ||
|
||
Qgis::GpsFixStatus fixStatus() const /Deprecated/; | ||
%Docstring | ||
Returns the fix status | ||
|
||
.. deprecated:: | ||
, use :py:func:`~QgsGpsInformation.constellationFixStatus` or :py:func:`~QgsGpsInformation.bestFixStatus` instead. | ||
%End | ||
|
||
QString qualityDescription() const; | ||
%Docstring | ||
Returns a descriptive string for the signal quality. | ||
|
||
.. versionadded:: 3.16 | ||
%End | ||
|
||
QVariant componentValue( Qgis::GpsInformationComponent component ) const; | ||
%Docstring | ||
Returns the value of the corresponding GPS information ``component``. | ||
|
||
.. versionadded:: 3.30 | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/gps/qgsgpsinformation.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
57 changes: 57 additions & 0 deletions
57
python/core/auto_generated/gps/qgssatelliteinformation.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/gps/qgssatelliteinformation.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsSatelliteInfo | ||
{ | ||
%Docstring(signature="appended") | ||
Encapsulates information relating to a GPS satellite. | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgssatelliteinformation.h" | ||
%End | ||
public: | ||
|
||
int id; | ||
|
||
bool inUse; | ||
|
||
|
||
double elevation; | ||
|
||
|
||
double azimuth; | ||
|
||
int signal; | ||
|
||
QChar satType; | ||
|
||
Qgis::GnssConstellation constellation() const; | ||
%Docstring | ||
Returns the GNSS constellation associated with the information. | ||
|
||
.. versionadded:: 3.30 | ||
%End | ||
|
||
bool operator==( const QgsSatelliteInfo &other ) const; | ||
|
||
bool operator!=( const QgsSatelliteInfo &other ) const; | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/gps/qgssatelliteinformation.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.