![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GCObjectScopeGuard.h>
Inheritance diagram for TGCObjectsScopeGuard< ObjectType >:Public Member Functions | |
| TGCObjectsScopeGuard (const TArray< ObjectType * > &InObjects) | |
| virtual | ~TGCObjectsScopeGuard () |
| TGCObjectsScopeGuard (const TGCObjectsScopeGuard &)=delete | |
| TGCObjectsScopeGuard & | operator= (const TGCObjectsScopeGuard &)=delete |
| virtual void | AddReferencedObjects (FReferenceCollector &Collector) override |
| virtual FString | GetReferencerName () const override |
| UE_FORCEINLINE_HINT const TArray< ObjectType * > & | Get () const |
Public Member Functions inherited from FGCObject | |
| FGCObject () | |
| FGCObject (const FGCObject &Other) | |
| FGCObject (FGCObject &&Other) | |
| FGCObject (EFlags Flags) | |
| virtual | ~FGCObject () |
| FGCObject & | operator= (const FGCObject &) |
| FGCObject & | operator= (FGCObject &&) |
| COREUOBJECT_API void | RegisterGCObject () |
| COREUOBJECT_API void | UnregisterGCObject () |
| virtual bool | GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const |
Additional Inherited Members | |
Public Types inherited from FGCObject | |
| enum class | EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 } |
Static Public Member Functions inherited from FGCObject | |
| static COREUOBJECT_API void | StaticInit () |
Static Public Attributes inherited from FGCObject | |
| static COREUOBJECT_API UGCObjectReferencer * | GGCObjectReferencer = nullptr |
Specific implementation of FGCObject that prevents an array of UObject-based pointers from being GC'd while this guard is in scope.
|
inlineexplicit |
|
inlinevirtual |
|
delete |
Non-copyable
|
inlineoverridevirtual |
Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.
| Collector | The collector of referenced objects. |
Implements FGCObject.
|
inline |
|
inlineoverridevirtual |
Overload this method to report a name for your referencer
Implements FGCObject.
|
delete |