QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
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
#define SIP_NO_FILE
31
32
#include "
qgstaskmanager.h
"
33
34
class
QgsPointLocator
;
35
36
class
QgsPointLocatorInitTask :
public
QgsTask
37
{
38
Q_OBJECT
39
40
public
:
41
42
QgsPointLocatorInitTask(
QgsPointLocator
*loc );
43
47
bool
isBuildOK()
const
;
48
49
bool
run
();
50
51
private
:
52
53
QgsPointLocator
*mLoc =
nullptr
;
54
bool
mBuildOK =
false
;
55
};
56
58
59
#endif // QGSPOINTLOCATORINITTASK_H
qgstaskmanager.h
QgsPointLocator
The class defines interface for querying point location:
Definition:
qgspointlocator.h:101
QgsTask::run
virtual bool run()=0
Performs the task's operation.
QgsTask
Abstract base class for long running background tasks. Tasks can be controlled directly,...
Definition:
qgstaskmanager.h:54
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17