#include <ThreadSafeCounter64.h>
Thread safe counter for 64bit ints
Definition at line 13 of file ThreadSafeCounter64.h.
◆ IntegerType
◆ FThreadSafeCounter64() [1/3]
FThreadSafeCounter64::FThreadSafeCounter64 |
( |
| ) |
|
|
inline |
◆ FThreadSafeCounter64() [2/3]
Copy Constructor.
If the counter in the Other parameter is changing from other threads, there are no guarantees as to which values you will get up to the caller to not care, synchronize or other way to make those guarantees.
- Parameters
-
Other | The other thread safe counter to copy |
Definition at line 37 of file ThreadSafeCounter64.h.
◆ FThreadSafeCounter64() [3/3]
FThreadSafeCounter64::FThreadSafeCounter64 |
( |
int64 | Value | ) |
|
|
inline |
Constructor, initializing counter to passed in value.
- Parameters
-
Value | Value to initialize counter to |
Definition at line 56 of file ThreadSafeCounter64.h.
◆ Add()
◆ Decrement()
int64 FThreadSafeCounter64::Decrement |
( |
| ) |
|
|
inline |
◆ GetValue()
int64 FThreadSafeCounter64::GetValue |
( |
| ) |
const |
|
inline |
◆ Increment()
int64 FThreadSafeCounter64::Increment |
( |
| ) |
|
|
inline |
◆ operator=()
◆ Reset()
int64 FThreadSafeCounter64::Reset |
( |
| ) |
|
|
inline |
◆ Set()
◆ Subtract()
int64 FThreadSafeCounter64::Subtract |
( |
int64 | Amount | ) |
|
|
inline |
◆ Counter
The documentation for this class was generated from the following file: