![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qbasicatomic.h>
Public Types | |
typedef X * | Type |
typedef QAtomicOps< Type > | Ops |
typedef Ops::Type | AtomicType |
Public Member Functions | |
Type | loadRelaxed () const noexcept |
void | storeRelaxed (Type newValue) noexcept |
operator Type () const noexcept | |
Type | operator= (Type newValue) noexcept |
Type | loadAcquire () const noexcept |
void | storeRelease (Type newValue) noexcept |
bool | testAndSetRelaxed (Type expectedValue, Type newValue) noexcept |
bool | testAndSetAcquire (Type expectedValue, Type newValue) noexcept |
bool | testAndSetRelease (Type expectedValue, Type newValue) noexcept |
bool | testAndSetOrdered (Type expectedValue, Type newValue) noexcept |
bool | testAndSetRelaxed (Type expectedValue, Type newValue, Type ¤tValue) noexcept |
bool | testAndSetAcquire (Type expectedValue, Type newValue, Type ¤tValue) noexcept |
bool | testAndSetRelease (Type expectedValue, Type newValue, Type ¤tValue) noexcept |
bool | testAndSetOrdered (Type expectedValue, Type newValue, Type ¤tValue) noexcept |
Type | fetchAndStoreRelaxed (Type newValue) noexcept |
Type | fetchAndStoreAcquire (Type newValue) noexcept |
Type | fetchAndStoreRelease (Type newValue) noexcept |
Type | fetchAndStoreOrdered (Type newValue) noexcept |
Type | fetchAndAddRelaxed (qptrdiff valueToAdd) noexcept |
Type | fetchAndAddAcquire (qptrdiff valueToAdd) noexcept |
Type | fetchAndAddRelease (qptrdiff valueToAdd) noexcept |
Type | fetchAndAddOrdered (qptrdiff valueToAdd) noexcept |
Type | fetchAndSubRelaxed (qptrdiff valueToAdd) noexcept |
Type | fetchAndSubAcquire (qptrdiff valueToAdd) noexcept |
Type | fetchAndSubRelease (qptrdiff valueToAdd) noexcept |
Type | fetchAndSubOrdered (qptrdiff valueToAdd) noexcept |
Type | operator++ () noexcept |
Type | operator++ (int) noexcept |
Type | operator-- () noexcept |
Type | operator-- (int) noexcept |
Type | operator+= (qptrdiff valueToAdd) noexcept |
Type | operator-= (qptrdiff valueToSub) noexcept |
QBasicAtomicPointer ()=default | |
constexpr | QBasicAtomicPointer (Type value) noexcept |
QBasicAtomicPointer (const QBasicAtomicPointer &)=delete | |
QBasicAtomicPointer & | operator= (const QBasicAtomicPointer &)=delete |
QBasicAtomicPointer & | operator= (const QBasicAtomicPointer &) volatile =delete |
Static Public Member Functions | |
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 | |
AtomicType | _q_value |
Definition at line 161 of file qbasicatomic.h.
typedef Ops::Type QBasicAtomicPointer< X >::AtomicType |
Definition at line 166 of file qbasicatomic.h.
typedef QAtomicOps<Type> QBasicAtomicPointer< X >::Ops |
Definition at line 165 of file qbasicatomic.h.
typedef X* QBasicAtomicPointer< X >::Type |
Definition at line 164 of file qbasicatomic.h.
|
default |
|
inlineconstexprnoexcept |
Definition at line 248 of file qbasicatomic.h.
References _q_value.
|
delete |
|
inlinenoexcept |
Definition at line 218 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 222 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 216 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 220 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 206 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 210 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 204 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 208 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 227 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 231 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 225 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 229 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 213 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 214 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 201 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 202 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 180 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 181 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 177 of file qbasicatomic.h.
Referenced by operator Type().
|
inlinenoexcept |
Definition at line 170 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 173 of file qbasicatomic.h.
References loadAcquire().
|
inlinenoexcept |
Definition at line 234 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 236 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 242 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 238 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 240 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 244 of file qbasicatomic.h.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 174 of file qbasicatomic.h.
References storeRelease().
|
inlinenoexcept |
Definition at line 171 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 178 of file qbasicatomic.h.
Referenced by operator=().
|
inlinenoexcept |
Definition at line 185 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 194 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 189 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 198 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 183 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 192 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 187 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 196 of file qbasicatomic.h.
AtomicType QBasicAtomicPointer< X >::_q_value |
Definition at line 168 of file qbasicatomic.h.
Referenced by QBasicAtomicPointer().