Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h |
Include |
#include "UObject/UObjectArray.h" |
class FUObjectArray
Name | Description | |
---|---|---|
|
FUObjectArray() |
Constructor, initializes to no permanent object pool |
Name | Description | ||
---|---|---|---|
|
AddUObjectCreateListener ( |
Adds a new listener for object creation Adds a creation listener |
|
|
AddUObjectDeleteListener ( |
Adds a new listener for object deletion Checks whether object is part of permanent object pool. |
|
|
AllocateObjectPool |
Allocates and initializes the permanent object pool |
|
|
AllocateSerialNumber ( |
Given a UObject index return the serial number. |
|
|
AllocateUObjectIndex ( |
Adds a uobject to the global array which is used for uobject iteration |
|
|
CloseDisregardForGC() |
After the initial load, this closes the disregard pool so that new object are GC-able |
|
|
DisableDisregardForGC() |
Disables the disregard for GC optimization. |
|
|
DisregardForGCEnabled() |
Indicates if the disregard for GC optimization is active |
|
|
FreeUObjectIndex ( |
Returns a UObject index top to the global uobject array |
|
|
GetAllocatedSize() |
||
|
GetFirstGCIndex() |
Returns the index of the first object outside of the disregard for GC pool |
|
|
GetObjectArrayEstimatedAvailable() |
Returns the estimated number of object indices available for allocation |
|
|
GetObjectArrayNum() |
Returns the size of the global UObject array, some of these might be unused |
|
|
GetObjectArrayNumMinusAvailable() |
Returns the number of actual object indices that are claimed (the total size of the global object array minus the number of available object array elements |
|
|
GetObjectArrayNumMinusPermanent() |
Returns the size of the global UObject array minus the number of permanent objects |
|
|
GetObjectArrayNumPermanent() |
Returns the number of permanent objects |
|
|
TUObjectArra... |
GetObjectItemArrayUnsafe() |
INTERNAL USE ONLY: gets the internal FUObjectItem array |
|
GetSerialNumber ( |
Given a UObject index return the serial number. |
|
|
FUObjectItem... |
IndexToObject |
|
|
FUObjectItem... |
IndexToObject ( |
Returns the UObject corresponding to index. |
|
FUObjectItem... |
IndexToObjectUnsafeForGC ( |
|
|
FUObjectItem... |
IndexToValidObject |
|
|
IsDisregardForGC ( |
Returns true if this object is "disregard for GC"...same results as the legacy RF_DisregardForGC flag |
|
|
IsOpenForDisregardForGC() |
Returns true if the disregard for GC pool is open |
|
|
IsStale |
||
|
IsStale ( |
||
|
IsValid ( |
Checks if a UObject pointer is valid |
|
|
IsValid ( |
||
|
IsValid |
||
|
IsValidIndex ( |
Checks if the object index is valid. |
|
|
LockInternalArray() |
Locks the internal object array mutex |
|
|
ObjectToIndex ( |
Returns the index of a UObject. |
|
|
FUObjectItem... |
ObjectToObjectItem ( |
|
|
OpenDisregardForGC() |
If there's enough slack in the disregard pool, we can re-open it and keep adding objects to it |
|
|
RemoveObjectFromDeleteListeners ( |
Removes an object from delete listeners |
|
|
RemoveUObjectCreateListener ( |
Removes a listener for object creation |
|
|
RemoveUObjectDeleteListener ( |
Removes a listener for object deletion removes a listener for object deletion |
|
|
ShutdownUObjectArray() |
Clears some internal arrays to get rid of false memory leaks |
|
|
UnlockInternalArray() |
Unlocks the internal object array mutex |
Name |
Description |
|
---|---|---|
|
FUObjectCreateListener |
Base class for UObjectBase create class listeners |
|
FUObjectDeleteListener |
Base class for UObjectBase delete class listeners |
|
TIterator |
Low level iterator. |
Name |
Description |
|
---|---|---|
|
ESerialNumberConstants |
Name |
Description |
---|---|
TUObjectArray |
Typedef TStaticIndirectArrayThreadSafeRead<UObjectBase, 8 * 1024 * 1024 /* Max 8M UObjects */, 16384 /* allocated in 64K/128K chunks */ > TUObjectArray; |