Navigation
API > API/Runtime > API/Runtime/CoreUObject
This nested class is used to provide a UObject interface between non UObject classes and the UObject system. It handles forwarding all calls of AddReferencedObjects() to objects/ classes that register with it.
| Name | UGCObjectReferencer |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/GCObject.h |
| Include Path | #include "UObject/GCObject.h" |
Syntax
class UGCObjectReferencer : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGCObjectReferencer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGCObjectReferencer
(
const FObjectInitializer& ObjectInitializer |
UObject/GCObject.h | ||
UGCObjectReferencer
(
FVTableHelper& Helper |
UObject/GCObject.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UGCObjectReferencer() |
UObject/GCObject.h |
Structs
| Name | Remarks |
|---|---|
| FImpl |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGCObjectAddedDelegate | TMulticastDelegate_OneParam< void, FGCObject * > | Called when a new FGCObject is added to this referencer | UObject/GCObject.h |
| Super | UObject | Typedef for the base class (UObject) | UObject/GCObject.h |
| ThisClass | UGCObjectReferencer | Typedef for UGCObjectReferencer. | UObject/GCObject.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticClassFlags | EClassFlags | Bitwise union of EClassFlags pertaining to this class. | UObject/GCObject.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentlySerializingObject | FGCObject * | Current FGCObject* that references are being added from | UObject/GCObject.h | |
| Impl | TUniquePtr< FImpl > | UObject/GCObject.h | ||
| OnGCObjectAdded | FGCObjectAddedDelegate | Called when a new FGCObject is added to this referencer | UObject/GCObject.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UObject/GCObject.h | |||
void AddObject
(
FGCObject* Object |
Adds an object to the referencer list | UObject/GCObject.h | |
FGCObject * GetCurrentlySerializingObject() |
Returns the currently serializing object | UObject/GCObject.h | |
FGCObjectAddedDelegate & GetGCObjectAddedDelegate() |
Returns a delegate called when a new FGCObject is added to this referencer | UObject/GCObject.h | |
bool GetReferencerName
(
UObject* Object, |
Get the name of the first FGCObject that owns this object. | UObject/GCObject.h | |
void RemoveObject
(
FGCObject* Object |
Removes an object from the referencer list | UObject/GCObject.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FinishDestroy () |
Destroy function that gets called before the object is freed. | UObject/GCObject.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void __DefaultConstructor
(
const FObjectInitializer& X |
UObject/GCObject.h | ||
static UObject * __VTableCtorCaller
(
FVTableHelper& Helper |
UObject/GCObject.h | ||
static void AddReferencedObjects
(
UObject* InThis, |
Forwards this call to all registered objects so they can reference any UObjects they depend upon | UObject/GCObject.h | |
static UClass * GetPrivateStaticClass() |
UObject/GCObject.h | ||
static void IntrinsicClassInit
(
UClass* Class |
UObject/GCObject.h | ||
static UClass * StaticClass() |
Returns a UClass object representing this class at runtime | UObject/GCObject.h | |
static EClassCastFlags StaticClassCastFlags() |
Returns the static cast flags for this class | UObject/GCObject.h | |
static const TCHAR * StaticPackage() |
Returns the package this class belongs in | UObject/GCObject.h | |
static void StaticRegisterNativesUGCObjectReferencer() |
UObject/GCObject.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator delete
(
void* InMem |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. | UObject/GCObject.h | |
void * operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | UObject/GCObject.h | |
void * operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | UObject/GCObject.h | |
| UObject/GCObject.h | |||
UGCObjectReferencer & operator=
(
const UGCObjectReferencer& |
UObject/GCObject.h |