Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QT_BEGIN_NAMESPACE::ThreadPoolSingleton Struct Reference
Collaboration diagram for QT_BEGIN_NAMESPACE::ThreadPoolSingleton:

Public Member Functions

QThreadPoolget (const QMutexLocker< QMutex > &)
template<typename Functor>
QFuture< voidrun (Functor &&f)
QThreadPoolget (const QMutexLocker< QMutex > &)
template<typename Functor>
QFuture< voidrun (Functor &&f)

Public Attributes

QObject m_context
QMutex m_poolMutex
QThreadPoolm_instance {}
bool m_appUnderDestruction = false

Detailed Description

Definition at line 30 of file qgstreamerimagecapture.cpp.

Member Function Documentation

◆ get() [1/2]

QThreadPool * QT_BEGIN_NAMESPACE::ThreadPoolSingleton::get ( const QMutexLocker< QMutex > & )
inline

Definition at line 37 of file qgstreamerimagecapture.cpp.

◆ get() [2/2]

QThreadPool * QT_BEGIN_NAMESPACE::ThreadPoolSingleton::get ( const QMutexLocker< QMutex > & )
inline

Definition at line 37 of file qgstreamerimagecapture.cpp.

◆ run() [1/2]

template<typename Functor>
QFuture< void > QT_BEGIN_NAMESPACE::ThreadPoolSingleton::run ( Functor && f)
inline

Definition at line 67 of file qgstreamerimagecapture.cpp.

◆ run() [2/2]

template<typename Functor>
QFuture< void > QT_BEGIN_NAMESPACE::ThreadPoolSingleton::run ( Functor && f)
inline

Definition at line 67 of file qgstreamerimagecapture.cpp.

Member Data Documentation

◆ m_appUnderDestruction

bool QT_BEGIN_NAMESPACE::ThreadPoolSingleton::m_appUnderDestruction = false

Definition at line 35 of file qgstreamerimagecapture.cpp.

◆ m_context

QObject QT_BEGIN_NAMESPACE::ThreadPoolSingleton::m_context

Definition at line 32 of file qgstreamerimagecapture.cpp.

◆ m_instance

QThreadPool * QT_BEGIN_NAMESPACE::ThreadPoolSingleton::m_instance {}

Definition at line 34 of file qgstreamerimagecapture.cpp.

◆ m_poolMutex

QMutex QT_BEGIN_NAMESPACE::ThreadPoolSingleton::m_poolMutex

Definition at line 33 of file qgstreamerimagecapture.cpp.


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