TDefaultReferenceCollector

Default implementation for reference collector that can be used with [TFastReferenceCollector](API\Runtime\CoreUObject\UObject\TFastReferenceCollector)

Windows
MacOS
Linux

Inheritance Hierarchy

FReferenceCollector

TDefaultReferenceCollector

References

Module

CoreUObject

Header

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

Include

#include "UObject/FastReferenceCollector.h"

Syntax

template<typename ReferenceProcessorType, bool bIgnoringArchetypeRef, bool bIgnoringTransient>
class TDefaultReferenceCollector : public FReferenceCollector

Remarks

Default implementation for reference collector that can be used with TFastReferenceCollector

Constructors

Name Description

Public function

TDefaultReferenceCollector

(
    ReferenceProcessorType& InProcesso...,
    FGCArrayStruct& InObjectArrayStruc...
)

Overridden from FReferenceCollector

Name Description

Public function Virtual

void

 

HandleObjectReference

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

Handle object reference. Called by AddReferencedObject.

Public 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