QGIS API Documentation  3.4.15-Madeira (e83d02e274)
qgsalgorithmshortestpathpointtopoint.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsalgorithmshortestpathpointtopoint.h
3  ---------------------
4  begin : JUly 2018
5  copyright : (C) 2018 by Alexander Bruy
6  email : alexander dot bruy at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSALGORITHMSHORTESTPATHPOINTTOPOINT_H
19 #define QGSALGORITHMSHORTESTPATHPOINTTOPOINT_H
20 
21 #define SIP_NO_FILE
22 
23 #include "qgis.h"
25 
27 
31 class QgsShortestPathPointToPointAlgorithm : public QgsNetworkAnalysisAlgorithmBase
32 {
33 
34  public:
35 
36  QgsShortestPathPointToPointAlgorithm() = default;
37  void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
38  QString name() const override;
39  QString displayName() const override;
40  QStringList tags() const override;
41  QString shortHelpString() const override;
42  QgsShortestPathPointToPointAlgorithm *createInstance() const override SIP_FACTORY;
43 
44  protected:
45 
46  QVariantMap processAlgorithm( const QVariantMap &parameters,
47  QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
48 
49 };
50 
52 
53 #endif // QGSALGORITHMSHORTESTPATHPOINTTOPOINT_H
Base class for providing feedback from a processing algorithm.
#define SIP_FACTORY
Definition: qgis_sip.h:69
Contains information about the context in which a processing algorithm is executed.