QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Classes | Macros
qgsthreadingutils.h File Reference
#include "qgis_core.h"
#include "qgsconfig.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  QgsThreadingUtils
 Provides threading utilities for QGIS. More...
 

Macros

#define QGIS_CHECK_OTHER_QOBJECT_THREAD_ACCESS(other)   do {} while(false);(void)other;
 
#define QGIS_CHECK_QOBJECT_THREAD_EQUALITY(other)   do {} while(false);(void)other;
 
#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS   do {} while(false);
 
#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL   do {} while(false);
 
#define SIP_NO_FILE
 

Macro Definition Documentation

◆ QGIS_CHECK_OTHER_QOBJECT_THREAD_ACCESS

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

Definition at line 72 of file qgsthreadingutils.h.

◆ QGIS_CHECK_QOBJECT_THREAD_EQUALITY

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

Definition at line 62 of file qgsthreadingutils.h.

◆ QGIS_PROTECT_QOBJECT_THREAD_ACCESS

#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS   do {} while(false);

Definition at line 42 of file qgsthreadingutils.h.

◆ QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL

#define QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL   do {} while(false);

Definition at line 52 of file qgsthreadingutils.h.

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 19 of file qgsthreadingutils.h.