FPurgingReferenceCollector

Reference collector that will purge (null) any references to the given set of objects (as if they'd been marked PendingKill)

Windows
MacOS
Linux

Inheritance Hierarchy

FReferenceCollector

FPurgingReferenceCollector

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/PurgingReferenceCollector.h

Include

#include "UObject/PurgingReferenceCollector.h"

Syntax

class FPurgingReferenceCollector : public FReferenceCollector

Remarks

Reference collector that will purge (null) any references to the given set of objects (as if they'd been marked PendingKill)

Variables

Name Description

Protected variable

TSet< const UOb...

 

ObjectsToPurge

Functions

Name Description

Public function

void

 

AddObjectToPurge

(
    const UObject* Object
)

Protected function

void

 

ConditionalPurgeObject

(
    UObject*& Object
)

Public function Const

bool

 

HasObjectToPurge()

Overridden from FReferenceCollector

Name Description

Protected function Virtual

void

 

HandleObjectReference

(
    UObject*& InObject,
    const UObject* InReferencingOb...,
    const FProperty* InReferencing...
)

Handle object reference. Called by AddReferencedObject.

Protected function Virtual

void

 

HandleObjectReferences

(
    UObject** InObjects,
    const int32 ObjectNum,
    const UObject* InReferencingOb...,
    const FProperty* InReferencing...
)

Handle multiple object references.

Public function Virtual Const

bool

 

IsIgnoringArchetypeRef()

If true archetype references should not be added to this collector.

Public function Virtual Const

bool

 

IsIgnoringTransient()

If true transient objects should not be added to this collector.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss