Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
Include |
#include "HAL/ThreadSafeCounter64.h" |
class FThreadSafeCounter64
Thread safe counter for 64bit ints
Name | Description | |
---|---|---|
|
FThreadSafeCounter64() |
Default constructor. Initializes the counter to 0. |
|
FThreadSafeCounter64 ( |
Copy Constructor. |
|
FThreadSafeCounter64 ( |
Constructor, initializing counter to passed in value. |
Name | Description | ||
---|---|---|---|
|
Add ( |
Adds an amount and returns the old value. |
|
|
Decrement() |
Decrement and return new value. |
|
|
GetValue() |
Gets the current value. |
|
|
Increment() |
Increment and return new value. |
|
|
Reset() |
Resets the counter's value to zero. |
|
|
Set ( |
Sets the counter to a specific value and returns the old value. |
|
|
Subtract ( |
Subtracts an amount and returns the old value. |
Name | Description | ||
---|---|---|---|
|
FThreadSafeC... |
operator= ( |
Assignment has the same caveats as the copy ctor. |
Name |
Description |
---|---|
IntegerType |