| TAtomicBase_Basic
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/Atomic.h |
Include |
#include "Templates/Atomic.h" |
template<typename T>
struct TAtomicBase_Basic
Basic storage and implementation - only allows getting and setting via platform atomics.
Name | Description | ||
---|---|---|---|
|
T |
Element |
Name | Description | |
---|---|---|
|
TAtomicBase_Basic() |
|
|
TAtomicBase_Basic ( |
Name | Description | ||
---|---|---|---|
|
CompareExchange ( |
Compares the element with an expected value and, only if comparison succeeds, assigns the element to a new value. |
|
|
T |
Exchange ( |
Sets the element to a specific value, returning a copy of the previous value. |
|
T |
Load ( |
Gets a copy of the current value of the element. |
|
Store ( |
Sets the element to a specific value. |