QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgsabstractprofilesource.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsabstractprofilesource.h
3  ---------------
4  begin : March 2022
5  copyright : (C) 2022 by Nyall Dawson
6  email : nyall dot dawson 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 #ifndef QGSABSTRACTPROFILESOURCE_H
18 #define QGSABSTRACTPROFILESOURCE_H
19 
20 #include "qgis_core.h"
21 #include "qgis_sip.h"
22 
23 class QgsProfileRequest;
25 
26 
33 class CORE_EXPORT QgsAbstractProfileSource
34 {
35 
36  public:
37 
38  virtual ~QgsAbstractProfileSource();
39 
48  virtual QgsAbstractProfileGenerator *createProfileGenerator( const QgsProfileRequest &request ) = 0 SIP_FACTORY;
49 
50 };
51 
52 #endif // QGSABSTRACTPROFILESOURCE_H
QgsAbstractProfileGenerator
Abstract base class for objects which generate elevation profiles.
Definition: qgsabstractprofilegenerator.h:392
SIP_FACTORY
#define SIP_FACTORY
Definition: qgis_sip.h:76
qgis_sip.h
QgsProfileRequest
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
Definition: qgsprofilerequest.h:37
QgsAbstractProfileSource
Interface for classes which can generate elevation profiles.
Definition: qgsabstractprofilesource.h:33