18#ifndef QGSALGORITHMGPSBABELTOOLS_H
19#define QGSALGORITHMGPSBABELTOOLS_H
28#include "qgis_analysis.h"
43 QgsConvertGpxFeatureTypeAlgorithm() =
default;
44 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
45 QIcon
icon()
const override;
47 QString
name()
const override;
49 QStringList
tags()
const override;
50 QString
group()
const override;
51 QString
groupId()
const override;
64 WaypointsFromRoute = 0,
73 static void createArgumentLists(
74 const QString &inputFile,
75 const QString &outputFile,
76 ConversionType conversion,
77 QStringList &processArgs,
81 friend class TestQgsProcessingAlgsPt2;
94 QgsConvertGpsDataAlgorithm() =
default;
95 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
96 QIcon
icon()
const override;
98 QString
name()
const override;
100 QStringList
tags()
const override;
101 QString
group()
const override;
102 QString
groupId()
const override;
108 QVariantMap processAlgorithm( const QVariantMap ¶meters,
113 friend class TestQgsProcessingAlgs;
126 QgsDownloadGpsDataAlgorithm() =
default;
127 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
128 QIcon
icon()
const override;
130 QString
name()
const override;
132 QStringList
tags()
const override;
133 QString
group()
const override;
134 QString
groupId()
const override;
140 QVariantMap processAlgorithm( const QVariantMap ¶meters,
145 friend class TestQgsProcessingAlgs;
158 QgsUploadGpsDataAlgorithm() =
default;
159 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
160 QIcon
icon()
const override;
162 QString
name()
const override;
164 QStringList
tags()
const override;
165 QString
group()
const override;
166 QString
groupId()
const override;
172 QVariantMap processAlgorithm( const QVariantMap ¶meters,
177 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.