QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsScopedThreadName Class Reference

Scoped object for setting the current thread name. More...

#include <qgsthreadingutils.h>

Public Member Functions

 QgsScopedThreadName (const QString &name)
 Constructor for QgsScopedThreadName.
 ~QgsScopedThreadName ()
 Restores the thread name back to its original state.

Detailed Description

Scoped object for setting the current thread name.

Temporarily overrides the current thread name.

Warning
This class is not supported on all platforms.
Note
Not available in Python bindings
Since
QGIS 4.0

Definition at line 294 of file qgsthreadingutils.h.

Constructor & Destructor Documentation

◆ QgsScopedThreadName()

QgsScopedThreadName::QgsScopedThreadName ( const QString & name)
inline

Constructor for QgsScopedThreadName.

Definition at line 301 of file qgsthreadingutils.h.

◆ ~QgsScopedThreadName()

QgsScopedThreadName::~QgsScopedThreadName ( )
inline

Restores the thread name back to its original state.

Definition at line 312 of file qgsthreadingutils.h.


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