Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/GCObject.h |
Include |
#include "UObject/GCObject.h" |
class FGCObject
This class provides common registration for garbage collection for non-UObject classes. It is an abstract base class requiring you to implement the AddReferencedObjects() method.
Name | Description | |
---|---|---|
|
FGCObject() |
Tells the global object that forwards AddReferencedObjects calls on to objects that a new object is requiring AddReferencedObjects call. |
|
FGCObject ( |
Copy constructor |
|
FGCObject ( |
Move constructor |
Name | Description | |
---|---|---|
|
~FGCObject() |
Removes this instance from the global referencer's list |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |
|
|
GetReferencerPropertyName |
Use this method to report how the specified object is referenced, if necessary |
|
|
StaticInit() |
Initializes the global object referencer and adds it to the root set. |
Name |
Description |
---|---|
GGCObjectReferencer |
The static object referencer object that is shared across all garbage collectible non-UObject objects. |
UnknownGCObjectName |
Default name for unnamed FGCObjects |