18#ifndef QGSALGORITHMGPSBABELTOOLS_H
19#define QGSALGORITHMGPSBABELTOOLS_H
24#if QT_CONFIG( process )
28#include "qgis_analysis.h"
41 QgsConvertGpxFeatureTypeAlgorithm() =
default;
42 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
43 QIcon
icon()
const override;
45 QString
name()
const override;
47 QStringList
tags()
const override;
48 QString
group()
const override;
49 QString
groupId()
const override;
59 WaypointsFromRoute = 0,
68 static void createArgumentLists(
69 const QString &inputFile,
70 const QString &outputFile,
71 ConversionType conversion,
72 QStringList &processArgs,
76 friend class TestQgsProcessingAlgsPt2;
86 QgsConvertGpsDataAlgorithm() =
default;
87 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
88 QIcon
icon()
const override;
90 QString
name()
const override;
92 QStringList
tags()
const override;
93 QString
group()
const override;
94 QString
groupId()
const override;
102 friend class TestQgsProcessingAlgs;
112 QgsDownloadGpsDataAlgorithm() =
default;
113 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
114 QIcon
icon()
const override;
116 QString
name()
const override;
118 QStringList
tags()
const override;
119 QString
group()
const override;
120 QString
groupId()
const override;
128 friend class TestQgsProcessingAlgs;
138 QgsUploadGpsDataAlgorithm() =
default;
139 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
140 QIcon
icon()
const override;
142 QString
name()
const override;
144 QStringList
tags()
const override;
145 QString
group()
const override;
146 QString
groupId()
const override;
154 friend class TestQgsProcessingAlgs;
Abstract base class for processing algorithms.
virtual QgsProcessingAlgorithm * createInstance() const =0
Creates a new instance of the algorithm class.
virtual QString group() const
Returns the name of the group this algorithm belongs to.
virtual QString groupId() const
Returns the unique ID of the group this algorithm belongs to.
virtual QIcon icon() const
Returns an icon for the algorithm.
virtual QString shortHelpString() const
Returns a localised short helper string for the algorithm.
virtual QString displayName() const =0
Returns the translated algorithm name, which should be used for any user-visible display of the algor...
virtual QVariantMap processAlgorithm(const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback)=0
Runs the algorithm using the specified parameters.
virtual QStringList tags() const
Returns a list of tags which relate to the algorithm, and are used to assist users in searching for s...
virtual QString svgIconPath() const
Returns a path to an SVG version of the algorithm's icon.
virtual void initAlgorithm(const QVariantMap &configuration=QVariantMap())=0
Initializes the algorithm using the specified configuration.
virtual QString name() const =0
Returns the algorithm name, used for identifying the algorithm.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.