UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNoopCounter Class Reference

#include <NoopCounter.h>

Public Types

using IntegerType = int32
 

Public Member Functions

 FNoopCounter ()
 
 FNoopCounter (const FNoopCounter &Other)
 
 FNoopCounter (int32 Value)
 
int32 Increment ()
 
int32 Add (int32 Amount)
 
int32 Decrement ()
 
int32 Subtract (int32 Amount)
 
int32 Set (int32 Value)
 
int32 Reset ()
 
int32 GetValue () const
 

Detailed Description

Fake Thread safe counter, used to avoid cluttering code with ifdefs when counters are only used for debugging.

Member Typedef Documentation

◆ IntegerType

Constructor & Destructor Documentation

◆ FNoopCounter() [1/3]

FNoopCounter::FNoopCounter ( )
inline

◆ FNoopCounter() [2/3]

FNoopCounter::FNoopCounter ( const FNoopCounter Other)
inline

◆ FNoopCounter() [3/3]

FNoopCounter::FNoopCounter ( int32  Value)
inline

Member Function Documentation

◆ Add()

int32 FNoopCounter::Add ( int32  Amount)
inline

◆ Decrement()

int32 FNoopCounter::Decrement ( )
inline

◆ GetValue()

int32 FNoopCounter::GetValue ( ) const
inline

◆ Increment()

int32 FNoopCounter::Increment ( )
inline

◆ Reset()

int32 FNoopCounter::Reset ( )
inline

◆ Set()

int32 FNoopCounter::Set ( int32  Value)
inline

◆ Subtract()

int32 FNoopCounter::Subtract ( int32  Amount)
inline

The documentation for this class was generated from the following file: