16#ifndef QGSVECTORLAYERGPSLOGGER_H
17#define QGSVECTORLAYERGPSLOGGER_H
155 void endCurrentTrack();
163 bool mUseEditBuffer =
true;
165 QPointer< QgsVectorLayer > mPointsLayer;
166 QPointer< QgsVectorLayer > mTracksLayer;
171 QMap< Qgis::GpsInformationComponent, QString > mDestinationFields;
173 QVariant timestamp(
QgsVectorLayer *vlayer,
int idx,
const QDateTime &time );
GpsInformationComponent
GPS information component.
Contains information about the context in which a coordinate transform is executed.
Abstract base class for connection to a GPS device.
Base class for objects which log incoming GPS data.
virtual void setTransformContext(const QgsCoordinateTransformContext &context)
Sets the coordinate transform context to be used when transforming GPS coordinates.
Handles logging of incoming GPS data to a vector layer.
bool writeToEditBuffer() const
Returns true if the logger will use the vector layer edit buffer for the destination layers.
void setWriteToEditBuffer(bool buffer)
Sets whether the logger will use the vector layer edit buffer for the destination layers.
Represents a vector layer which manages a vector based data sets.