![]() |
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 174 of file qbasicatomic.h.
| typedef Ops::Type QBasicAtomicPointer< X >::AtomicType |
Definition at line 179 of file qbasicatomic.h.
| typedef QAtomicOps<Type> QBasicAtomicPointer< X >::Ops |
Definition at line 178 of file qbasicatomic.h.
| typedef X* QBasicAtomicPointer< X >::Type |
Definition at line 177 of file qbasicatomic.h.
|
default |
|
inlineconstexprnoexcept |
Definition at line 261 of file qbasicatomic.h.
References _q_value.
|
delete |
|
inlinenoexcept |
Definition at line 231 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 235 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 229 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 233 of file qbasicatomic.h.
|
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 240 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 244 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 238 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 242 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 226 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 227 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 193 of file qbasicatomic.h.
|
inlinestaticconstexprnoexcept |
Definition at line 194 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 190 of file qbasicatomic.h.
Referenced by operator Type().
|
inlinenoexcept |
Definition at line 183 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 186 of file qbasicatomic.h.
References loadAcquire().
|
inlinenoexcept |
Definition at line 247 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 249 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 255 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 251 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 253 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 257 of file qbasicatomic.h.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 187 of file qbasicatomic.h.
References storeRelease().
|
inlinenoexcept |
Definition at line 184 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 191 of file qbasicatomic.h.
Referenced by operator=().
|
inlinenoexcept |
Definition at line 198 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 207 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 202 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 211 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 196 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 205 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 200 of file qbasicatomic.h.
|
inlinenoexcept |
Definition at line 209 of file qbasicatomic.h.
| AtomicType QBasicAtomicPointer< X >::_q_value |
Definition at line 181 of file qbasicatomic.h.
Referenced by QBasicAtomicPointer().