QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
qgspointlocatorinittask.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspointlocatorinittask.h
3
--------------------------------------
4
Date : September 2019
5
Copyright : (C) 2019 by Julien Cabieces
6
Email : julien dot cabieces at oslandia dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSPOINTLOCATORINITTASK_H
17
#define QGSPOINTLOCATORINITTASK_H
18
20
21
//
22
// W A R N I N G
23
// -------------
24
//
25
// This file is not part of the QGIS API. It exists purely as an
26
// implementation detail. This header file may change from version to
27
// version without notice, or even be removed.
28
//
29
30
31
#include "
qgstaskmanager.h
"
32
33
#define SIP_NO_FILE
34
35
class
QgsPointLocator
;
36
37
class
QgsPointLocatorInitTask :
public
QgsTask
38
{
39
Q_OBJECT
40
41
public
:
42
QgsPointLocatorInitTask( QgsPointLocator *loc );
43
47
bool
isBuildOK()
const
;
48
49
bool
run
()
override
;
50
51
private
:
52
QgsPointLocator *mLoc =
nullptr
;
53
bool
mBuildOK =
false
;
54
};
55
57
58
#endif
// QGSPOINTLOCATORINITTASK_H
QgsPointLocator
Defines the interface for querying point locations.
Definition
qgspointlocator.h:107
QgsTask
Abstract base class for long running background tasks.
Definition
qgstaskmanager.h:55
QgsTask::run
virtual bool run()=0
Performs the task's operation.
qgstaskmanager.h
Generated on
for QGIS API Documentation by
1.17.0