QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
gps
qgsbabelgpsdevice.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsbabelgpsdevice.h
3
Functions:
4
-------------------
5
begin : Oct 05, 2004
6
copyright : (C) 2004 by Lars Luthman
7
email : larsl@users.sourceforge.net
8
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
***************************************************************************/
19
20
#ifndef QGSBABELGPSDEVICE_H
21
#define QGSBABELGPSDEVICE_H
22
23
#include "
qgsbabelformat.h
"
24
25
#include <QString>
26
#include <QStringList>
27
35
class
CORE_EXPORT
QgsBabelGpsDeviceFormat
:
public
QgsAbstractBabelFormat
36
{
37
public
:
38
QgsBabelGpsDeviceFormat
() =
default
;
39
50
QgsBabelGpsDeviceFormat
(
51
const
QString &waypointDownloadCommand,
52
const
QString &waypointUploadCommand,
53
const
QString &routeDownloadCommand,
54
const
QString &routeUploadCommand,
55
const
QString &trackDownloadCommand,
56
const
QString &trackUploadCommand
57
);
58
59
QStringList
importCommand
(
const
QString &babel,
Qgis::GpsFeatureType
type,
const
QString &in,
const
QString &out,
Qgis::BabelCommandFlags
flags =
Qgis::BabelCommandFlags
() )
const override
;
60
QStringList
exportCommand
(
const
QString &babel,
Qgis::GpsFeatureType
type,
const
QString &in,
const
QString &out,
Qgis::BabelCommandFlags
flags =
Qgis::BabelCommandFlags
() )
const override
;
61
62
private
:
63
QStringList mWaypointDownloadCommand;
64
QStringList mWaypointUploadCommand;
65
QStringList mRouteDownloadCommand;
66
QStringList mRouteUploadCommand;
67
QStringList mTrackDownloadCommand;
68
QStringList mTrackUploadCommand;
69
};
70
71
#endif
// QGSBABELGPSDEVICE_H
Qgis::BabelCommandFlags
QFlags< BabelCommandFlag > BabelCommandFlags
Babel command flags.
Definition
qgis.h:2187
Qgis::GpsFeatureType
GpsFeatureType
GPS feature types.
Definition
qgis.h:2197
QgsAbstractBabelFormat::exportCommand
virtual QStringList exportCommand(const QString &babel, Qgis::GpsFeatureType featureType, const QString &input, const QString &output, Qgis::BabelCommandFlags flags=Qgis::BabelCommandFlags()) const
Generates a command for exporting GPS data into a different format using babel.
Definition
qgsbabelformat.cpp:53
QgsAbstractBabelFormat::importCommand
virtual QStringList importCommand(const QString &babel, Qgis::GpsFeatureType featureType, const QString &input, const QString &output, Qgis::BabelCommandFlags flags=Qgis::BabelCommandFlags()) const
Generates a command for importing data into a GPS format using babel.
Definition
qgsbabelformat.cpp:48
QgsAbstractBabelFormat::QgsAbstractBabelFormat
QgsAbstractBabelFormat(const QString &name=QString())
Constructor for QgsAbstractBabelFormat, with the specified name.
Definition
qgsbabelformat.cpp:25
QgsBabelGpsDeviceFormat::QgsBabelGpsDeviceFormat
QgsBabelGpsDeviceFormat()=default
qgsbabelformat.h
Generated on
for QGIS API Documentation by
1.17.0