![]() |
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 162 of file qbasicatomic.h.
typedef Ops::Type QBasicAtomicPointer< X >::AtomicType |
Definition at line 167 of file qbasicatomic.h.
typedef QAtomicOps<Type> QBasicAtomicPointer< X >::Ops |
Definition at line 166 of file qbasicatomic.h.
typedef X* QBasicAtomicPointer< X >::Type |
Definition at line 165 of file qbasicatomic.h.
|
default |
|
inlineconstexprnoexcept |
Definition at line 249 of file qbasicatomic.h.
References _q_value.
|
delete |
|
inlinenoexcept |
Definition at line 219 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 223 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 217 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 221 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 207 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 211 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 205 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 209 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 228 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 232 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 226 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 230 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 214 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 215 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 202 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 203 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 181 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 182 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 178 of file qbasicatomic.h.
Referenced by operator Type().
|
inlinenoexcept |
Definition at line 171 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 174 of file qbasicatomic.h.
References loadAcquire().
|
inlinenoexcept |
Definition at line 235 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 237 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 243 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 239 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 241 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 245 of file qbasicatomic.h.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 175 of file qbasicatomic.h.
References storeRelease().
|
inlinenoexcept |
Definition at line 172 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 179 of file qbasicatomic.h.
Referenced by operator=().
|
inlinenoexcept |
Definition at line 186 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 195 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 190 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 199 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 184 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 193 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 188 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 197 of file qbasicatomic.h.
AtomicType QBasicAtomicPointer< X >::_q_value |
Definition at line 169 of file qbasicatomic.h.
Referenced by QBasicAtomicPointer().