Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FNoopCounter Class Reference

#include <NoopCounter.h>

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.

Definition at line 8 of file NoopCounter.h.

Constructor & Destructor Documentation

◆ FNoopCounter() [1/3]

FNoopCounter::FNoopCounter ( )
inline

Definition at line 12 of file NoopCounter.h.

◆ FNoopCounter() [2/3]

FNoopCounter::FNoopCounter ( const FNoopCounter & Other)
inline

Definition at line 13 of file NoopCounter.h.

◆ FNoopCounter() [3/3]

FNoopCounter::FNoopCounter ( int32 Value)
inline

Definition at line 14 of file NoopCounter.h.

Member Function Documentation

◆ Add()

int32 FNoopCounter::Add ( int32 Amount)
inline

Definition at line 21 of file NoopCounter.h.

◆ Decrement()

int32 FNoopCounter::Decrement ( )
inline

Definition at line 26 of file NoopCounter.h.

◆ GetValue()

int32 FNoopCounter::GetValue ( ) const
inline

Definition at line 46 of file NoopCounter.h.

◆ Increment()

int32 FNoopCounter::Increment ( )
inline

Definition at line 16 of file NoopCounter.h.

◆ Reset()

int32 FNoopCounter::Reset ( )
inline

Definition at line 41 of file NoopCounter.h.

◆ Set()

int32 FNoopCounter::Set ( int32 Value)
inline

Definition at line 36 of file NoopCounter.h.

◆ Subtract()

int32 FNoopCounter::Subtract ( int32 Amount)
inline

Definition at line 31 of file NoopCounter.h.


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