QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
qgsthreadingutils.h File Reference
#include "qgsconfig.h"
#include "qgis_core.h"
#include "qgsfeedback.h"
#include <QThread>
#include <QSemaphore>
#include <QCoreApplication>
#include <memory>
Include dependency graph for qgsthreadingutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsScopedAssignObjectToCurrentThread
 Temporarily moves a QObject to the current thread, then resets it back to nullptr thread on destruction. More...
class  QgsScopedThreadName
 Scoped object for setting the current thread name. More...
class  QgsThreadingUtils
 Provides threading utilities for QGIS. More...

Macros

#define QGIS_CHECK_OTHER_QOBJECT_THREAD_ACCESS(other)
#define QGIS_CHECK_QOBJECT_THREAD_EQUALITY(other)
#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS
#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL
#define SIP_NO_FILE

Macro Definition Documentation

◆ QGIS_CHECK_OTHER_QOBJECT_THREAD_ACCESS

#define QGIS_CHECK_OTHER_QOBJECT_THREAD_ACCESS ( other)
Value:
do \
{ \
} while ( false ); \
( void ) ( other );

Definition at line 137 of file qgsthreadingutils.h.

◆ QGIS_CHECK_QOBJECT_THREAD_EQUALITY

#define QGIS_CHECK_QOBJECT_THREAD_EQUALITY ( other)
Value:
do \
{ \
} while ( false ); \
( void ) ( other );

Definition at line 111 of file qgsthreadingutils.h.

◆ QGIS_PROTECT_QOBJECT_THREAD_ACCESS

#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS
Value:
do \
{ \
} while ( false );

Definition at line 59 of file qgsthreadingutils.h.

◆ QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL

#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL
Value:
do \
{ \
} while ( false );

Definition at line 86 of file qgsthreadingutils.h.

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 19 of file qgsthreadingutils.h.