107    void setEllipsoid( 
const QString &ellipsoid );
 
  136    QVector<QgsPoint> currentTrack() 
const;
 
  163    QDateTime lastTimestamp() 
const;
 
  171    QDateTime trackStartTime() 
const;
 
  176    double lastElevation() 
const;
 
  181    double lastMValue() 
const;
 
  194    bool automaticallyAddTrackVertices() 
const;
 
  202    void setAutomaticallyAddTrackVertices( 
bool enabled );
 
  207    void updateGpsSettings();
 
  214    double totalTrackLength() 
const;
 
  221    double trackDistanceFromStart() 
const;
 
  263    mutable int mBlockGpsStateChanged = 0;
 
  268    void addTrackVertex();
 
  272    void switchAcquisition();
 
  277    QPointer< QgsGpsConnection > mConnection;
 
  284    double mLastElevation = 0.0;
 
  286    nmeaPOS mLastNmeaPosition;
 
  289    QDateTime mPreviousTrackPointTime;
 
  292    QDateTime mTrackStartTime;
 
  294    QVector<QgsPoint> mCaptureListWgs84;
 
  296    std::unique_ptr<QTimer> mAcquisitionTimer;
 
  297    bool mAcquisitionEnabled = 
true;
 
  298    int mAcquisitionInterval = 0;
 
  299    double mDistanceThreshold = 0;
 
  301    bool mApplyLeapSettings = 
false;
 
  302    int mLeapSeconds = 0;
 
  303    Qt::TimeSpec mTimeStampSpec = Qt::TimeSpec::LocalTime;
 
  305    int mOffsetFromUtc = 0;
 
  307    bool mAutomaticallyAddTrackVertices = 
true;
 
  308    bool mStoreAttributeInMValues = 
false;
 
  310    double mLastMValue = std::numeric_limits<double>::quiet_NaN();
 
  312    friend class TestQgsGpsIntegration;
 
 
GpsInformationComponent
GPS information component.
 
WkbType
The WKB type describes the number of dimensions a geometry has.
 
Represents a coordinate reference system (CRS).
 
Contains information about the context in which a coordinate transform is executed.
 
A general purpose distance and area calculator, capable of performing ellipsoid based calculations.
 
A geometry is the spatial representation of a feature.
 
Abstract base class for connections to a GPS device.
 
Base class for objects which log incoming GPS data.
 
static const QgsSettingsEntryBool * settingsGpsStoreAttributeInMValues
Settings entry for whether storing GPS attributes as geometry M values should be enabled.
 
void stateChanged(const QgsGpsInformation &info)
Emitted whenever the associated GPS device state is changed.
 
static const QgsSettingsEntryEnumFlag< Qgis::GpsInformationComponent > * settingsGpsMValueComponent
Settings entry dictating which GPS attribute should be stored in geometry M values.
 
QgsCoordinateReferenceSystem mWgs84CRS
WGS84 coordinate reference system.
 
void trackIsEmptyChanged(bool isEmpty)
Emitted whenever the current track changes from being empty to non-empty or vice versa.
 
void trackReset()
Emitted whenever the current track is reset.
 
void distanceAreaChanged()
Emitted whenever the distance area used to calculate track distances is changed.
 
void trackVertexAdded(const QgsPoint &vertex)
Emitted whenever a new vertex is added to the track.
 
Point geometry type, with support for z-dimension and m-values.
 
A boolean settings entry.
 
A template class for enum and flag settings entry.
 
An integer settings entry.