Navigation
API > API/Runtime > API/Runtime/Core
Fake Thread safe counter, used to avoid cluttering code with ifdefs when counters are only used for debugging.
| Name | FNoopCounter |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/NoopCounter.h |
| Include Path | #include "Misc/NoopCounter.h" |
Syntax
class FNoopCounter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNoopCounter () |
Misc/NoopCounter.h | ||
FNoopCounter
(
const FNoopCounter& Other |
Misc/NoopCounter.h | ||
FNoopCounter
(
int32 Value |
Misc/NoopCounter.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IntegerType | int32 | Misc/NoopCounter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 Add
(
int32 Amount |
Misc/NoopCounter.h | ||
int32 Decrement() |
Misc/NoopCounter.h | ||
int32 GetValue() |
Misc/NoopCounter.h | ||
int32 Increment() |
Misc/NoopCounter.h | ||
int32 Reset() |
Misc/NoopCounter.h | ||
int32 Set
(
int32 Value |
Misc/NoopCounter.h | ||
int32 Subtract
(
int32 Amount |
Misc/NoopCounter.h |