Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QBasicAtomicInteger< T > Class Template Reference

#include <qbasicatomic.h>

+ Inheritance diagram for QBasicAtomicInteger< T >:
+ Collaboration diagram for QBasicAtomicInteger< T >:

Public Types

typedef T Type
 
typedef QAtomicOps< T > Ops
 

Public Member Functions

loadRelaxed () const noexcept
 
void storeRelaxed (T newValue) noexcept
 
loadAcquire () const noexcept
 
void storeRelease (T newValue) noexcept
 
 operator T () const noexcept
 
operator= (T newValue) noexcept
 
bool ref () noexcept
 
bool deref () noexcept
 
bool testAndSetRelaxed (T expectedValue, T newValue) noexcept
 
bool testAndSetAcquire (T expectedValue, T newValue) noexcept
 
bool testAndSetRelease (T expectedValue, T newValue) noexcept
 
bool testAndSetOrdered (T expectedValue, T newValue) noexcept
 
bool testAndSetRelaxed (T expectedValue, T newValue, T &currentValue) noexcept
 
bool testAndSetAcquire (T expectedValue, T newValue, T &currentValue) noexcept
 
bool testAndSetRelease (T expectedValue, T newValue, T &currentValue) noexcept
 
bool testAndSetOrdered (T expectedValue, T newValue, T &currentValue) noexcept
 
fetchAndStoreRelaxed (T newValue) noexcept
 
fetchAndStoreAcquire (T newValue) noexcept
 
fetchAndStoreRelease (T newValue) noexcept
 
fetchAndStoreOrdered (T newValue) noexcept
 
fetchAndAddRelaxed (T valueToAdd) noexcept
 
fetchAndAddAcquire (T valueToAdd) noexcept
 
fetchAndAddRelease (T valueToAdd) noexcept
 
fetchAndAddOrdered (T valueToAdd) noexcept
 
fetchAndSubRelaxed (T valueToAdd) noexcept
 
fetchAndSubAcquire (T valueToAdd) noexcept
 
fetchAndSubRelease (T valueToAdd) noexcept
 
fetchAndSubOrdered (T valueToAdd) noexcept
 
fetchAndAndRelaxed (T valueToAdd) noexcept
 
fetchAndAndAcquire (T valueToAdd) noexcept
 
fetchAndAndRelease (T valueToAdd) noexcept
 
fetchAndAndOrdered (T valueToAdd) noexcept
 
fetchAndOrRelaxed (T valueToAdd) noexcept
 
fetchAndOrAcquire (T valueToAdd) noexcept
 
fetchAndOrRelease (T valueToAdd) noexcept
 
fetchAndOrOrdered (T valueToAdd) noexcept
 
fetchAndXorRelaxed (T valueToAdd) noexcept
 
fetchAndXorAcquire (T valueToAdd) noexcept
 
fetchAndXorRelease (T valueToAdd) noexcept
 
fetchAndXorOrdered (T valueToAdd) noexcept
 
operator++ () noexcept
 
operator++ (int) noexcept
 
operator-- () noexcept
 
operator-- (int) noexcept
 
operator+= (T v) noexcept
 
operator-= (T v) noexcept
 
operator&= (T v) noexcept
 
operator|= (T v) noexcept
 
operator^= (T v) noexcept
 
 QBasicAtomicInteger ()=default
 
constexpr QBasicAtomicInteger (T value) noexcept
 
 QBasicAtomicInteger (const QBasicAtomicInteger &)=delete
 
QBasicAtomicIntegeroperator= (const QBasicAtomicInteger &)=delete
 
QBasicAtomicIntegeroperator= (const QBasicAtomicInteger &) volatile =delete
 

Static Public Member Functions

static constexpr bool isReferenceCountingNative () noexcept
 
static constexpr bool isReferenceCountingWaitFree () noexcept
 
static constexpr bool isTestAndSetNative () noexcept
 
static constexpr bool isTestAndSetWaitFree () noexcept
 
static constexpr bool isFetchAndStoreNative () noexcept
 
static constexpr bool isFetchAndStoreWaitFree () noexcept
 
static constexpr bool isFetchAndAddNative () noexcept
 
static constexpr bool isFetchAndAddWaitFree () noexcept
 

Public Attributes

Ops::Type _q_value
 

Detailed Description

template<typename T>
class QBasicAtomicInteger< T >

Definition at line 23 of file qbasicatomic.h.

Member Typedef Documentation

◆ Ops

template<typename T >
typedef QAtomicOps<T> QBasicAtomicInteger< T >::Ops

Definition at line 27 of file qbasicatomic.h.

◆ Type

template<typename T >
typedef T QBasicAtomicInteger< T >::Type

Definition at line 26 of file qbasicatomic.h.

Constructor & Destructor Documentation

◆ QBasicAtomicInteger() [1/3]

template<typename T >
QBasicAtomicInteger< T >::QBasicAtomicInteger ( )
default

◆ QBasicAtomicInteger() [2/3]

template<typename T >
constexpr QBasicAtomicInteger< T >::QBasicAtomicInteger ( T value)
inlineconstexprnoexcept

Definition at line 153 of file qbasicatomic.h.

◆ QBasicAtomicInteger() [3/3]

template<typename T >
QBasicAtomicInteger< T >::QBasicAtomicInteger ( const QBasicAtomicInteger< T > & )
delete

Member Function Documentation

◆ deref()

template<typename T >
bool QBasicAtomicInteger< T >::deref ( )
inlinenoexcept

Definition at line 48 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QDBusPendingCall::QDBusPendingCall(), QCollator::~QCollator(), QColormap::~QColormap(), QCursor::~QCursor(), QDBusArgument::~QDBusArgument(), QDBusConnection::~QDBusConnection(), QDBusMessage::~QDBusMessage(), QDomDocumentTypePrivate::~QDomDocumentTypePrivate(), QDomElementPrivate::~QDomElementPrivate(), QDomImplementation::~QDomImplementation(), QDomNamedNodeMap::~QDomNamedNodeMap(), QDomNode::~QDomNode(), QDomNodeList::~QDomNodeList(), QDomNodeListPrivate::~QDomNodeListPrivate(), QFontEngineMulti::~QFontEngineMulti(), QFontPrivate::~QFontPrivate(), QFontSubset::~QFontSubset(), QIcon::~QIcon(), QKeySequence::~QKeySequence(), QObject::~QObject(), QOpenGLBuffer::~QOpenGLBuffer(), QOpenGLFramebufferObjectFormat::~QOpenGLFramebufferObjectFormat(), QOpenGLFunctions_1_0::~QOpenGLFunctions_1_0(), QOpenGLFunctions_1_1::~QOpenGLFunctions_1_1(), QOpenGLFunctions_1_2::~QOpenGLFunctions_1_2(), QOpenGLFunctions_1_3::~QOpenGLFunctions_1_3(), QOpenGLFunctions_1_4::~QOpenGLFunctions_1_4(), QOpenGLFunctions_1_5::~QOpenGLFunctions_1_5(), QOpenGLFunctions_2_0::~QOpenGLFunctions_2_0(), QOpenGLFunctions_2_1::~QOpenGLFunctions_2_1(), QOpenGLFunctions_3_0::~QOpenGLFunctions_3_0(), QOpenGLFunctions_3_1::~QOpenGLFunctions_3_1(), QOpenGLFunctions_3_2_Compatibility::~QOpenGLFunctions_3_2_Compatibility(), QOpenGLFunctions_3_2_Core::~QOpenGLFunctions_3_2_Core(), QOpenGLFunctions_3_3_Compatibility::~QOpenGLFunctions_3_3_Compatibility(), QOpenGLFunctions_3_3_Core::~QOpenGLFunctions_3_3_Core(), QOpenGLFunctions_4_0_Compatibility::~QOpenGLFunctions_4_0_Compatibility(), QOpenGLFunctions_4_0_Core::~QOpenGLFunctions_4_0_Core(), QOpenGLFunctions_4_1_Compatibility::~QOpenGLFunctions_4_1_Compatibility(), QOpenGLFunctions_4_1_Core::~QOpenGLFunctions_4_1_Core(), QOpenGLFunctions_4_2_Compatibility::~QOpenGLFunctions_4_2_Compatibility(), QOpenGLFunctions_4_2_Core::~QOpenGLFunctions_4_2_Core(), QOpenGLFunctions_4_3_Compatibility::~QOpenGLFunctions_4_3_Compatibility(), QOpenGLFunctions_4_3_Core::~QOpenGLFunctions_4_3_Core(), QOpenGLFunctions_4_4_Compatibility::~QOpenGLFunctions_4_4_Compatibility(), QOpenGLFunctions_4_4_Core::~QOpenGLFunctions_4_4_Core(), QOpenGLFunctions_4_5_Compatibility::~QOpenGLFunctions_4_5_Compatibility(), QOpenGLFunctions_4_5_Core::~QOpenGLFunctions_4_5_Core(), QOpenGLMultiGroupSharedResource::~QOpenGLMultiGroupSharedResource(), QPalette::~QPalette(), QPersistentModelIndex::~QPersistentModelIndex(), QQmlIncubator::~QQmlIncubator(), QQuickGraphicsConfiguration::~QQuickGraphicsConfiguration(), QQuickGraphicsDevice::~QQuickGraphicsDevice(), QQuickRenderTarget::~QQuickRenderTarget(), QShader::~QShader(), QShaderDescription::~QShaderDescription(), QSqlDatabase::~QSqlDatabase(), QSslDiffieHellmanParameters::~QSslDiffieHellmanParameters(), QSupportedWritingSystems::~QSupportedWritingSystems(), QSurfaceFormat::~QSurfaceFormat(), QTextDocumentFragment::~QTextDocumentFragment(), QUrl::~QUrl(), QWeakPointer< T >::~QWeakPointer(), QXcbColormap::~QXcbColormap(), QOpenGLMultiGroupSharedResource::cleanup(), QResourcePrivate::clear(), QUrl::clear(), QDomNode::clear(), QDomDocumentPrivate::createElement(), QDomDocumentPrivate::createElementNS(), QDomDocumentPrivate::createEntityReference(), QEventLoopPrivate::deref(), QObjectPrivate::Connection::deref(), QFutureInterfaceBasePrivate::RefCount::deref(), QMutexPrivate::deref(), QThreadData::deref(), QtWayland::ClientBuffer::deref(), QArrayData::deref(), QtPrivate::RefCount::deref(), QFutureInterfaceBasePrivate::RefCount::derefT(), QV4::QV4QPointer< T >::destroy(), QtPrivate::QSlotObjectBase::destroyIfLastRef(), QIcon::detach(), QV4::IdentifierHash::detach(), QFontPrivate::engineForScript(), QDomDocumentPrivate::importNode(), QCollator::operator=(), QCursor::operator=(), QDBusConnection::operator=(), QDomImplementation::operator=(), QDomNamedNodeMap::operator=(), QDomNode::operator=(), QDomNodeList::operator=(), QIcon::operator=(), QPersistentModelIndex::operator=(), QOpenGLBuffer::operator=(), QOpenGLFramebufferObjectFormat::operator=(), QPalette::operator=(), QPersistentModelIndex::operator=(), QShader::operator=(), QSupportedWritingSystems::operator=(), QSurfaceFormat::operator=(), QTextDocumentFragment::operator=(), QDBusConnectionPrivate::processFinishedCall(), qUnregisterResourceData(), QQmlListModelWorkerAgent::release(), releaseCachedFontEngine(), QLibraryStore::releaseLibrary(), QOpenGLContextGroupPrivate::removeContext(), QCursor::setShape(), QLibraryPrivate::unload(), and QDomBuilder::unparsedEntityDecl().

◆ fetchAndAddAcquire()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAddAcquire ( T valueToAdd)
inlinenoexcept

Definition at line 88 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by CoreAudioRingBuffer::acquireReadRegion(), CoreAudioRingBuffer::acquireWriteRegion(), and QtConcurrent::IterateKernel< Iterator, T >::forThreadFunction().

+ Here is the caller graph for this function:

◆ fetchAndAddOrdered()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAddOrdered ( T valueToAdd)
inlinenoexcept

Definition at line 92 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QBasicAtomicInteger< T >::operator++(), QBasicAtomicInteger< T >::operator++(), and QBasicAtomicInteger< T >::operator+=().

+ Here is the caller graph for this function:

◆ fetchAndAddRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAddRelaxed ( T valueToAdd)
inlinenoexcept

◆ fetchAndAddRelease()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAddRelease ( T valueToAdd)
inlinenoexcept

Definition at line 90 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QtConcurrent::IterateKernel< Iterator, T >::forThreadFunction(), CoreAudioRingBuffer::releaseReadRegion(), and CoreAudioRingBuffer::releaseWriteRegion().

+ Here is the caller graph for this function:

◆ fetchAndAndAcquire()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAndAcquire ( T valueToAdd)
inlinenoexcept

Definition at line 106 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndAndOrdered()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAndOrdered ( T valueToAdd)
inlinenoexcept

Definition at line 110 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QBasicAtomicInteger< T >::operator&=().

+ Here is the caller graph for this function:

◆ fetchAndAndRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAndRelaxed ( T valueToAdd)
inlinenoexcept

Definition at line 104 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndAndRelease()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndAndRelease ( T valueToAdd)
inlinenoexcept

Definition at line 108 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndOrAcquire()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndOrAcquire ( T valueToAdd)
inlinenoexcept

Definition at line 115 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QThreadPipe::wakeUp().

+ Here is the caller graph for this function:

◆ fetchAndOrOrdered()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndOrOrdered ( T valueToAdd)
inlinenoexcept

Definition at line 119 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QBasicAtomicInteger< T >::operator|=().

+ Here is the caller graph for this function:

◆ fetchAndOrRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndOrRelaxed ( T valueToAdd)
inlinenoexcept

Definition at line 113 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndOrRelease()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndOrRelease ( T valueToAdd)
inlinenoexcept

Definition at line 117 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndStoreAcquire()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndStoreAcquire ( T newValue)
inlinenoexcept

Definition at line 76 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QAndroidEventDispatcher::start().

+ Here is the caller graph for this function:

◆ fetchAndStoreOrdered()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndStoreOrdered ( T newValue)
inlinenoexcept

Definition at line 80 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndStoreRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndStoreRelaxed ( T newValue)
inlinenoexcept

Definition at line 74 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QtPrivate::WhenAnyContext< ResultType >::checkForCompletion(), QCocoaScreen::deliverUpdateRequests(), QCocoaGLContext::makeCurrent(), QAmbientSound::setAutoPlay(), QSpatialSound::setAutoPlay(), QAmbientSound::setLoops(), QSpatialSound::setLoops(), and QAudioEngine::setPaused().

+ Here is the caller graph for this function:

◆ fetchAndStoreRelease()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndStoreRelease ( T newValue)
inlinenoexcept

Definition at line 78 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndSubAcquire()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndSubAcquire ( T valueToAdd)
inlinenoexcept

Definition at line 97 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndSubOrdered()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndSubOrdered ( T valueToAdd)
inlinenoexcept

Definition at line 101 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QBasicAtomicInteger< T >::operator--(), QBasicAtomicInteger< T >::operator--(), and QBasicAtomicInteger< T >::operator-=().

+ Here is the caller graph for this function:

◆ fetchAndSubRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndSubRelaxed ( T valueToAdd)
inlinenoexcept

Definition at line 95 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QtPrivate::WhenAllContext< ResultFutures >::checkForCompletion().

+ Here is the caller graph for this function:

◆ fetchAndSubRelease()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndSubRelease ( T valueToAdd)
inlinenoexcept

Definition at line 99 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndXorAcquire()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndXorAcquire ( T valueToAdd)
inlinenoexcept

Definition at line 124 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndXorOrdered()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndXorOrdered ( T valueToAdd)
inlinenoexcept

Definition at line 128 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QBasicAtomicInteger< T >::operator^=().

+ Here is the caller graph for this function:

◆ fetchAndXorRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndXorRelaxed ( T valueToAdd)
inlinenoexcept

Definition at line 122 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ fetchAndXorRelease()

template<typename T >
T QBasicAtomicInteger< T >::fetchAndXorRelease ( T valueToAdd)
inlinenoexcept

Definition at line 126 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

◆ isFetchAndAddNative()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isFetchAndAddNative ( )
inlinestaticconstexprnoexcept

Definition at line 83 of file qbasicatomic.h.

◆ isFetchAndAddWaitFree()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isFetchAndAddWaitFree ( )
inlinestaticconstexprnoexcept

Definition at line 84 of file qbasicatomic.h.

◆ isFetchAndStoreNative()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isFetchAndStoreNative ( )
inlinestaticconstexprnoexcept

Definition at line 71 of file qbasicatomic.h.

◆ isFetchAndStoreWaitFree()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isFetchAndStoreWaitFree ( )
inlinestaticconstexprnoexcept

Definition at line 72 of file qbasicatomic.h.

◆ isReferenceCountingNative()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isReferenceCountingNative ( )
inlinestaticconstexprnoexcept

Definition at line 44 of file qbasicatomic.h.

◆ isReferenceCountingWaitFree()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isReferenceCountingWaitFree ( )
inlinestaticconstexprnoexcept

Definition at line 45 of file qbasicatomic.h.

◆ isTestAndSetNative()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isTestAndSetNative ( )
inlinestaticconstexprnoexcept

Definition at line 50 of file qbasicatomic.h.

◆ isTestAndSetWaitFree()

template<typename T >
static constexpr bool QBasicAtomicInteger< T >::isTestAndSetWaitFree ( )
inlinestaticconstexprnoexcept

Definition at line 51 of file qbasicatomic.h.

◆ loadAcquire()

◆ loadRelaxed()

template<typename T >
T QBasicAtomicInteger< T >::loadRelaxed ( ) const
inlinenoexcept

Definition at line 36 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QQmlMetaObjectPointer::QQmlMetaObjectPointer(), QtSharedPointer::ExternalRefCountData::~ExternalRefCountData(), QObject::~QObject(), QOpenGLFunctions_1_0::~QOpenGLFunctions_1_0(), QOpenGLFunctions_1_1::~QOpenGLFunctions_1_1(), QOpenGLFunctions_1_2::~QOpenGLFunctions_1_2(), QOpenGLFunctions_1_3::~QOpenGLFunctions_1_3(), QOpenGLFunctions_1_4::~QOpenGLFunctions_1_4(), QOpenGLFunctions_1_5::~QOpenGLFunctions_1_5(), QOpenGLFunctions_2_0::~QOpenGLFunctions_2_0(), QOpenGLFunctions_2_1::~QOpenGLFunctions_2_1(), QOpenGLFunctions_3_0::~QOpenGLFunctions_3_0(), QOpenGLFunctions_3_1::~QOpenGLFunctions_3_1(), QOpenGLFunctions_3_2_Compatibility::~QOpenGLFunctions_3_2_Compatibility(), QOpenGLFunctions_3_2_Core::~QOpenGLFunctions_3_2_Core(), QOpenGLFunctions_3_3_Compatibility::~QOpenGLFunctions_3_3_Compatibility(), QOpenGLFunctions_3_3_Core::~QOpenGLFunctions_3_3_Core(), QOpenGLFunctions_4_0_Compatibility::~QOpenGLFunctions_4_0_Compatibility(), QOpenGLFunctions_4_0_Core::~QOpenGLFunctions_4_0_Core(), QOpenGLFunctions_4_1_Compatibility::~QOpenGLFunctions_4_1_Compatibility(), QOpenGLFunctions_4_1_Core::~QOpenGLFunctions_4_1_Core(), QOpenGLFunctions_4_2_Compatibility::~QOpenGLFunctions_4_2_Compatibility(), QOpenGLFunctions_4_2_Core::~QOpenGLFunctions_4_2_Core(), QOpenGLFunctions_4_3_Compatibility::~QOpenGLFunctions_4_3_Compatibility(), QOpenGLFunctions_4_3_Core::~QOpenGLFunctions_4_3_Core(), QOpenGLFunctions_4_4_Compatibility::~QOpenGLFunctions_4_4_Compatibility(), QOpenGLFunctions_4_4_Core::~QOpenGLFunctions_4_4_Core(), QOpenGLFunctions_4_5_Compatibility::~QOpenGLFunctions_4_5_Compatibility(), QOpenGLFunctions_4_5_Core::~QOpenGLFunctions_4_5_Core(), QOpenGLMultiGroupSharedResource::~QOpenGLMultiGroupSharedResource(), QThreadData::~QThreadData(), QFFmpeg::AudioEncoder::addBuffer(), QObjectPrivate::addConnection(), QFFmpeg::VideoEncoder::addFrame(), QQmlTypeModule::addMinorVersion(), QQmlRefCount::addref(), QAmbientSound::autoPlay(), QSpatialSound::autoPlay(), QSemaphore::available(), QFutureInterfaceBase::cancel(), QDBusConnectionPrivate::connectionCapabilities(), QFutureInterfaceBasePrivate::connectOutputInterface(), QV4::QV4QPointer< T >::data(), QMutexPrivate::deref(), QtPrivate::RefCount::deref(), QIcon::detach(), QFontPrivate::detachButKeepEngineData(), QDBusUnixFileDescriptor::fileDescriptor(), QWindowsFontDatabase::fontEngine(), QtConcurrent::IterateKernel< Iterator, T >::forThreadFunction(), CoreAudioRingBuffer::free(), QFreetypeFace::getFace(), QFutureInterfaceBasePrivate::internal_setThrottled(), QFutureInterfaceBasePrivate::internal_waitForNextResult(), QtPrivate::QCalendarRegistry::isBeingDestroyed(), QPen::isDetached(), QUrl::isDetached(), QUrlQuery::isDetached(), QIcon::isDetached(), QKeySequence::isDetached(), QWeakPointer< T >::isNull(), QV4::QV4QPointer< T >::isNull(), QMetaType::isRegistered(), QArrayData::isShared(), QtPrivate::RefCount::isShared(), QtPrivate::RefCount::isStatic(), QDBusUnixFileDescriptor::isValid(), QFutureInterfaceBasePrivate::RefCount::load(), QLibraryPrivate::loadHints(), QFutureInterfaceBase::loadState(), QFutureInterfaceBasePrivate::RefCount::loadT(), QQmlTypeModule::lockLevel(), QAmbientSound::loops(), QSpatialSound::loops(), QQmlTypeModule::maximumMinorVersion(), QQmlTypeModule::minimumMinorVersion(), QSqlDatabase::moveToThread(), QArrayData::needsDetach(), QAudioEngine::paused(), QAndroidEventDispatcher::processEvents(), QCocoaEventDispatcherPrivate::processPostedEvents(), QIOSEventDispatcher::processPostedEvents(), QFutureInterfaceBase::queryState(), QAudioOutputStream::readData(), QMutexPrivate::ref(), QThreadData::ref(), QtPrivate::RefCount::ref(), QMutexPrivate::release(), QSemaphore::release(), QLibraryStore::releaseLibrary(), QFutureInterfaceBase::reportResultsReady(), QFutureInterfaceBase::reportStarted(), QFutureInterfaceBase::reportSuspended(), QtWaylandClient::EventThread::run(), QFutureWatcherBasePrivate::sendCallOutEvent(), QFutureInterfaceBase::setProgressValueAndText(), QFutureInterfaceBase::setThrottled(), QtConcurrent::IterateKernel< Iterator, T >::shouldStartThread(), QFutureInterfaceBase::suspendIfRequested(), QFutureInterfaceBase::toggleSuspended(), QLibraryPrivate::unload(), QMetaType::unregisterMetaType(), CoreAudioRingBuffer::used(), and QFutureInterfaceBase::waitForResume().

◆ operator T()

template<typename T >
QBasicAtomicInteger< T >::operator T ( ) const
inlinenoexcept

Definition at line 41 of file qbasicatomic.h.

◆ operator&=()

template<typename T >
T QBasicAtomicInteger< T >::operator&= ( T v)
inlinenoexcept

Definition at line 144 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndAndOrdered().

+ Here is the call graph for this function:

◆ operator++() [1/2]

template<typename T >
T QBasicAtomicInteger< T >::operator++ ( )
inlinenoexcept

Definition at line 131 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndAddOrdered().

+ Here is the call graph for this function:

◆ operator++() [2/2]

template<typename T >
T QBasicAtomicInteger< T >::operator++ ( int )
inlinenoexcept

Definition at line 133 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndAddOrdered().

+ Here is the call graph for this function:

◆ operator+=()

template<typename T >
T QBasicAtomicInteger< T >::operator+= ( T v)
inlinenoexcept

Definition at line 140 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndAddOrdered().

+ Here is the call graph for this function:

◆ operator--() [1/2]

template<typename T >
T QBasicAtomicInteger< T >::operator-- ( )
inlinenoexcept

Definition at line 135 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndSubOrdered().

+ Here is the call graph for this function:

◆ operator--() [2/2]

template<typename T >
T QBasicAtomicInteger< T >::operator-- ( int )
inlinenoexcept

Definition at line 137 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndSubOrdered().

+ Here is the call graph for this function:

◆ operator-=()

template<typename T >
T QBasicAtomicInteger< T >::operator-= ( T v)
inlinenoexcept

Definition at line 142 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndSubOrdered().

+ Here is the call graph for this function:

◆ operator=() [1/3]

template<typename T >
QBasicAtomicInteger & QBasicAtomicInteger< T >::operator= ( const QBasicAtomicInteger< T > & ) volatile
delete

◆ operator=() [2/3]

template<typename T >
QBasicAtomicInteger & QBasicAtomicInteger< T >::operator= ( const QBasicAtomicInteger< T > & )
delete

◆ operator=() [3/3]

template<typename T >
T QBasicAtomicInteger< T >::operator= ( T newValue)
inlinenoexcept

Definition at line 42 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::storeRelease().

+ Here is the call graph for this function:

◆ operator^=()

template<typename T >
T QBasicAtomicInteger< T >::operator^= ( T v)
inlinenoexcept

Definition at line 148 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndXorOrdered().

+ Here is the call graph for this function:

◆ operator|=()

template<typename T >
T QBasicAtomicInteger< T >::operator|= ( T v)
inlinenoexcept

Definition at line 146 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::fetchAndOrOrdered().

+ Here is the call graph for this function:

◆ ref()

template<typename T >
bool QBasicAtomicInteger< T >::ref ( )
inlinenoexcept

Definition at line 47 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QCborValue::QCborValue(), QCborValue::QCborValue(), QCollator::QCollator(), QColormap::QColormap(), QCursor::QCursor(), QCursor::QCursor(), QDBusArgument::QDBusArgument(), QDBusConnection::QDBusConnection(), QDBusConnection::QDBusConnection(), QDBusMessage::QDBusMessage(), QDomElementPrivate::QDomElementPrivate(), QDomImplementation::QDomImplementation(), QDomNamedNodeMap::QDomNamedNodeMap(), QDomNode::QDomNode(), QDomNode::QDomNode(), QDomNodeList::QDomNodeList(), QDomNodeListPrivate::QDomNodeListPrivate(), QDomNodeListPrivate::QDomNodeListPrivate(), QDomNodeListPrivate::QDomNodeListPrivate(), QFontPrivate::QFontPrivate(), QFontSubset::QFontSubset(), QIcon::QIcon(), QKeySequence::QKeySequence(), QKeySequence::QKeySequence(), QKeySequence::QKeySequence(), QOpenGLBuffer::QOpenGLBuffer(), QOpenGLFramebufferObjectFormat::QOpenGLFramebufferObjectFormat(), QPalette::QPalette(), QPalette::QPalette(), QPersistentModelIndex::QPersistentModelIndex(), QPersistentModelIndex::QPersistentModelIndex(), QQmlIncubator::QQmlIncubator(), QQuickGraphicsConfiguration::QQuickGraphicsConfiguration(), QQuickGraphicsDevice::QQuickGraphicsDevice(), QQuickRenderTarget::QQuickRenderTarget(), QShader::QShader(), QShaderDescription::QShaderDescription(), QSqlDatabase::QSqlDatabase(), QSqlDatabase::QSqlDatabase(), QSslDiffieHellmanParameters::QSslDiffieHellmanParameters(), QSslDiffieHellmanParameters::QSslDiffieHellmanParameters(), QSupportedWritingSystems::QSupportedWritingSystems(), QSurfaceFormat::QSurfaceFormat(), QTextDocumentFragment::QTextDocumentFragment(), QWeakPointer< T >::QWeakPointer(), QWeakPointer< T >::QWeakPointer(), QXcbColormap::QXcbColormap(), QOpenGLContextGroupPrivate::addContext(), QQmlListModelWorkerAgent::addref(), QQmlRefCount::addref(), QImageData::create(), QFontPrivate::detachButKeepEngineData(), QObjectPrivate::ensureConnectionData(), QLibraryStore::findOrCreate(), QTextEngine::fontEngine(), QtSharedPointer::ExternalRefCountData::getAndRef(), QFreetypeFace::getFace(), QFontEngineFT::initFromFontEngine(), QOpenGLFunctions_1_0::initializeOpenGLFunctions(), QOpenGLFunctions_1_1::initializeOpenGLFunctions(), QOpenGLFunctions_1_2::initializeOpenGLFunctions(), QOpenGLFunctions_1_3::initializeOpenGLFunctions(), QOpenGLFunctions_1_4::initializeOpenGLFunctions(), QOpenGLFunctions_1_5::initializeOpenGLFunctions(), QOpenGLFunctions_2_0::initializeOpenGLFunctions(), QOpenGLFunctions_2_1::initializeOpenGLFunctions(), QOpenGLFunctions_3_0::initializeOpenGLFunctions(), QOpenGLFunctions_3_1::initializeOpenGLFunctions(), QOpenGLFunctions_3_2_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_3_2_Core::initializeOpenGLFunctions(), QOpenGLFunctions_3_3_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_3_3_Core::initializeOpenGLFunctions(), QOpenGLFunctions_4_0_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_4_0_Core::initializeOpenGLFunctions(), QOpenGLFunctions_4_1_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_4_1_Core::initializeOpenGLFunctions(), QOpenGLFunctions_4_2_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_4_2_Core::initializeOpenGLFunctions(), QOpenGLFunctions_4_3_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_4_3_Core::initializeOpenGLFunctions(), QOpenGLFunctions_4_4_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_4_4_Core::initializeOpenGLFunctions(), QOpenGLFunctions_4_5_Compatibility::initializeOpenGLFunctions(), QOpenGLFunctions_4_5_Core::initializeOpenGLFunctions(), QOpenGLMultiGroupSharedResource::insert(), QDomNodePrivate::insertBefore(), QFontCache::insertEngineData(), QLibraryPrivate::load(), QLibraryPrivate::loadPlugin(), QCollator::operator=(), QPersistentModelIndex::operator=(), QPalette::operator=(), QPersistentModelIndex::operator=(), QTextDocumentFragment::operator=(), QUrl::operator=(), qRegisterResourceData(), QEventLoopPrivate::ref(), QObjectPrivate::Connection::ref(), QFutureInterfaceBasePrivate::RefCount::ref(), QThreadData::ref(), QtWayland::ClientBuffer::ref(), QtPrivate::QSlotObjectBase::ref(), QArrayData::ref(), QtPrivate::RefCount::ref(), QFutureInterfaceBasePrivate::RefCount::refT(), QCborContainerPrivate::replaceAt_complex(), QCursorData::setBitmap(), QCursor::setShape(), QColorSpace::setTransferFunction(), QColorSpace::setTransferFunctions(), and QFontPrivate::smallCapsFontPrivate().

◆ storeRelaxed()

◆ storeRelease()

◆ testAndSetAcquire() [1/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetAcquire ( T expectedValue,
T newValue )
inlinenoexcept

Definition at line 55 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QAndroidEventDispatcher::processEvents(), LibSymbolsResolver::resolve(), QAndroidEventDispatcher::stop(), and QtConcurrent::IterateKernel< Iterator, T >::whileThreadFunction().

+ Here is the caller graph for this function:

◆ testAndSetAcquire() [2/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetAcquire ( T expectedValue,
T newValue,
T & currentValue )
inlinenoexcept

Definition at line 64 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value, and currentValue.

◆ testAndSetOrdered() [1/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetOrdered ( T expectedValue,
T newValue )
inlinenoexcept

Definition at line 59 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QQmlTypeModule::addMinorVersion(), QFFmpeg::Renderer::doForceStep(), QQnxEglWindow::ensureInitialized(), QFFmpeg::Renderer::setForceStepDone(), QAndroidEventDispatcherStopper::startAll(), and QAndroidEventDispatcherStopper::stopAll().

+ Here is the caller graph for this function:

◆ testAndSetOrdered() [2/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetOrdered ( T expectedValue,
T newValue,
T & currentValue )
inlinenoexcept

Definition at line 68 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value, and currentValue.

◆ testAndSetRelaxed() [1/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetRelaxed ( T expectedValue,
T newValue )
inlinenoexcept

Definition at line 53 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value.

Referenced by QMutexPrivate::ref(), and LibSymbolsResolver::resolve().

+ Here is the caller graph for this function:

◆ testAndSetRelaxed() [2/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetRelaxed ( T expectedValue,
T newValue,
T & currentValue )
inlinenoexcept

Definition at line 62 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value, and currentValue.

◆ testAndSetRelease() [1/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetRelease ( T expectedValue,
T newValue )
inlinenoexcept

◆ testAndSetRelease() [2/2]

template<typename T >
bool QBasicAtomicInteger< T >::testAndSetRelease ( T expectedValue,
T newValue,
T & currentValue )
inlinenoexcept

Definition at line 66 of file qbasicatomic.h.

References QBasicAtomicInteger< T >::_q_value, and currentValue.

Member Data Documentation

◆ _q_value

template<typename T >
Ops::Type QBasicAtomicInteger< T >::_q_value

Definition at line 32 of file qbasicatomic.h.

Referenced by QBasicAtomicInteger< T >::deref(), QBasicAtomicInteger< T >::fetchAndAddAcquire(), QBasicAtomicInteger< T >::fetchAndAddOrdered(), QBasicAtomicInteger< T >::fetchAndAddRelaxed(), QBasicAtomicInteger< T >::fetchAndAddRelease(), QBasicAtomicInteger< T >::fetchAndAndAcquire(), QBasicAtomicInteger< T >::fetchAndAndOrdered(), QBasicAtomicInteger< T >::fetchAndAndRelaxed(), QBasicAtomicInteger< T >::fetchAndAndRelease(), QBasicAtomicInteger< T >::fetchAndOrAcquire(), QBasicAtomicInteger< T >::fetchAndOrOrdered(), QBasicAtomicInteger< T >::fetchAndOrRelaxed(), QBasicAtomicInteger< T >::fetchAndOrRelease(), QBasicAtomicInteger< T >::fetchAndStoreAcquire(), QBasicAtomicInteger< T >::fetchAndStoreOrdered(), QBasicAtomicInteger< T >::fetchAndStoreRelaxed(), QBasicAtomicInteger< T >::fetchAndStoreRelease(), QBasicAtomicInteger< T >::fetchAndSubAcquire(), QBasicAtomicInteger< T >::fetchAndSubOrdered(), QBasicAtomicInteger< T >::fetchAndSubRelaxed(), QBasicAtomicInteger< T >::fetchAndSubRelease(), QBasicAtomicInteger< T >::fetchAndXorAcquire(), QBasicAtomicInteger< T >::fetchAndXorOrdered(), QBasicAtomicInteger< T >::fetchAndXorRelaxed(), QBasicAtomicInteger< T >::fetchAndXorRelease(), QBasicAtomicInteger< T >::loadAcquire(), QBasicAtomicInteger< T >::loadRelaxed(), QBasicAtomicInteger< T >::ref(), QBasicAtomicInteger< T >::storeRelaxed(), QBasicAtomicInteger< T >::storeRelease(), QBasicAtomicInteger< T >::testAndSetAcquire(), QBasicAtomicInteger< T >::testAndSetAcquire(), QBasicAtomicInteger< T >::testAndSetOrdered(), QBasicAtomicInteger< T >::testAndSetOrdered(), QBasicAtomicInteger< T >::testAndSetRelaxed(), QBasicAtomicInteger< T >::testAndSetRelaxed(), QBasicAtomicInteger< T >::testAndSetRelease(), and QBasicAtomicInteger< T >::testAndSetRelease().


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