QGIS API Documentation 4.1.0-Master (3b8ef1f72a3)
Loading...
Searching...
No Matches
QgsScopedGeosContextRegisterFeedback Class Reference

Scoped object for setting the current thread GEOS context feedback object. More...

#include <qgsgeos.h>

Public Member Functions

 QgsScopedGeosContextRegisterFeedback (QgsFeedback *feedback)
 Registers a feedback object for GEOS interruption checking.
 ~QgsScopedGeosContextRegisterFeedback ()
 Resets the GEOS interruption checker for the current thread.

Detailed Description

Scoped object for setting the current thread GEOS context feedback object.

Temporarily overrides the current thread GEOS context feedback object, resetting it to nullptr on destruction.

Note
Not available in Python bindings
Requires GEOS 3.14 or later. On earlier GEOS versions this has no effect.
Since
QGIS 4.2

Definition at line 83 of file qgsgeos.h.

Constructor & Destructor Documentation

◆ QgsScopedGeosContextRegisterFeedback()

QgsScopedGeosContextRegisterFeedback::QgsScopedGeosContextRegisterFeedback ( QgsFeedback * feedback)

Registers a feedback object for GEOS interruption checking.

Applies to the current thread only.

The feedback object must exist for the lifetime of this object.

Definition at line 4005 of file qgsgeos.cpp.

◆ ~QgsScopedGeosContextRegisterFeedback()

QgsScopedGeosContextRegisterFeedback::~QgsScopedGeosContextRegisterFeedback ( )

Resets the GEOS interruption checker for the current thread.

Definition at line 4018 of file qgsgeos.cpp.


The documentation for this class was generated from the following files: