#include <InstanceCounter.h>
◆ FInstanceCountingObject() [1/2]
| FInstanceCountingObject::FInstanceCountingObject |
( |
const TCHAR * |
InName, |
|
|
bool |
InLogConstruction = false |
|
) |
| |
Constructor, though geneerally these objects should be created using the COUNT_INSTANCES_ macro.
◆ FInstanceCountingObject() [2/2]
Copy-constructor for assigment
◆ ~FInstanceCountingObject()
| FInstanceCountingObject::~FInstanceCountingObject |
( |
| ) |
|
|
virtual |
◆ DecrementStats()
| void FInstanceCountingObject::DecrementStats |
( |
| ) |
|
|
protected |
Decrements stats for objects of this type
◆ GetGlobals()
◆ GetInstanceCount()
| int32 FInstanceCountingObject::GetInstanceCount |
( |
const TCHAR * |
Name | ) |
|
|
static |
Returns the count of instances with "Name".
- Parameters
-
- Returns
- : int32
◆ IncrementStats()
| void FInstanceCountingObject::IncrementStats |
( |
| ) |
|
|
protected |
Increments stats for objects of this type
◆ LogCounts()
Dumps stats for all counted instances to the provided output device. This is bound to the "LogCountedInstances" console command
- Parameters
-
- Returns
- : void
◆ DoLog
| bool FInstanceCountingObject::DoLog |
|
protected |
◆ Globals
Vars are stored as a pointer and initialized on demand due to avoid dependencies on global crot order
◆ Name
| FName FInstanceCountingObject::Name |
|
protected |
The documentation for this class was generated from the following files: