QGIS API Documentation 3.38.0-Grenoble (exported)
|
Temporarily moves a QObject to the current thread, then resets it back to nullptr thread on destruction. More...
#include <qgsthreadingutils.h>
Public Member Functions | |
QgsScopedAssignObjectToCurrentThread (const QgsScopedAssignObjectToCurrentThread &other)=delete | |
QgsScopedAssignObjectToCurrentThread cannot be copied. | |
QgsScopedAssignObjectToCurrentThread (QObject *object) | |
Assigns object to the current thread. | |
~QgsScopedAssignObjectToCurrentThread () | |
QgsScopedAssignObjectToCurrentThread & | operator= (const QgsScopedAssignObjectToCurrentThread &)=delete |
QgsScopedAssignObjectToCurrentThread cannot be copied. | |
Temporarily moves a QObject to the current thread, then resets it back to nullptr thread on destruction.
Definition at line 72 of file qgsthreadingutils.h.
|
inline |
Assigns object to the current thread.
If object is already assigned to the current thread, no action will be taken.
Definition at line 83 of file qgsthreadingutils.h.
|
inline |
Definition at line 91 of file qgsthreadingutils.h.
|
delete |
QgsScopedAssignObjectToCurrentThread cannot be copied.
|
delete |
QgsScopedAssignObjectToCurrentThread cannot be copied.