| TAtomicBase_Basic
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/Atomic.h |
Include |
#include "Templates/Atomic.h" |
template<typename T, typename DiffType>
struct TAtomicBase_Arithmetic : public TAtomicBase_Basic< T >
Arithmetic atomic implementation - used by both pointers and integral types in addition to getting and setting.
Name | Description | |
---|---|---|
|
TAtomicBase_Arithmetic() |
|
|
TAtomicBase_Arithmetic ( |
Name | Description | ||
---|---|---|---|
|
T |
AddExchange ( |
Adds Value to Element and returns a copy of the previous value of the element. |
|
T |
DecrementExchange() |
Decrements Element and returns a copy of the previous value of the element. |
|
T |
IncrementExchange() |
Increments Element and returns a copy of the previous value of the element. |
|
T |
SubExchange ( |
Subtracts Value from Element and returns a copy of the previous value of the element. |
Name | Description | ||
---|---|---|---|
|
T |
operator--() |
Performs Element, returning a copy of the new value of the element. |
|
T |
operator-- ( |
Performs Element, returning a copy of the previous value of the element. |
|
T |
operator++() |
Performs ++Element, returning a copy of the new value of the element. |
|
T |
operator++ ( |
Performs Element++, returning a copy of the previous value of the element. |
|
T |
operator+= ( |
Performs Element += Value, returning a copy of the new value of the element. |
|
T |
operator-= ( |
Performs Element -= Value, returning a copy of the new value of the element. |