Navigation
API > API/Runtime > API/Runtime/CoreUObject
Helper class that looks for UObject references by traversing UClass token stream and calls AddReferencedObjects. Provides a generic way of processing references that is used by Unreal Engine garbage collection. Can be used for fast (does not use serialization) reference collection purposes.
IT IS CRITICAL THIS CLASS DOES NOT CHANGE WITHOUT CONSIDERING PERFORMANCE IMPACT OF SAID CHANGES
| Name | TFastReferenceCollector |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/FastReferenceCollector.h |
| Include Path | #include "UObject/FastReferenceCollector.h" |
Syntax
template<typename ProcessorType, typename CollectorType>
class TFastReferenceCollector : public FGCInternals
Inheritance Hierarchy
- FGCInternals → TFastReferenceCollector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TFastReferenceCollector
(
ProcessorType& InProcessor |
UObject/FastReferenceCollector.h |
Structs
| Name | Remarks |
|---|---|
| HasFlushWork | Some helper templates to detect if the DispatcherType supports FlushWork. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DispatcherType | typename TGetDispatcherType< CollectorType, ProcessorType >::Type | UObject/FastReferenceCollector.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bIsParallel | bool | UObject/FastReferenceCollector.h | |
| Options | EGCOptions | UObject/FastReferenceCollector.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Processor | ProcessorType & | UObject/FastReferenceCollector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ProcessObjectArray
(
FWorkerContext& Context |
UObject/FastReferenceCollector.h |
See Also
- FSimpleReferenceProcessorBase and TDefaultCollector for documentation on required APIs