11template <
typename ObjectType>
33 Collector.AddReferencedObject(Object);
38 return TEXT(
"TGCObjectScopeGuard");
55template <
typename ObjectType>
77 Collector.AddReferencedObjects(Objects);
82 return TEXT(
"TGCObjectsScopeGuard");
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition GCObject.h:128
Definition UObjectGlobals.h:2492
Definition GCObjectScopeGuard.h:13
TGCObjectScopeGuard & operator=(const TGCObjectScopeGuard &)=delete
virtual FString GetReferencerName() const override
Definition GCObjectScopeGuard.h:36
TGCObjectScopeGuard(const TGCObjectScopeGuard &)=delete
virtual ~TGCObjectScopeGuard()
Definition GCObjectScopeGuard.h:22
TGCObjectScopeGuard(ObjectType *InObject)
Definition GCObjectScopeGuard.h:17
UE_FORCEINLINE_HINT ObjectType * Get() const
Definition GCObjectScopeGuard.h:41
virtual void AddReferencedObjects(FReferenceCollector &Collector) override
Definition GCObjectScopeGuard.h:31
Definition GCObjectScopeGuard.h:57
TGCObjectsScopeGuard & operator=(const TGCObjectsScopeGuard &)=delete
virtual FString GetReferencerName() const override
Definition GCObjectScopeGuard.h:80
virtual ~TGCObjectsScopeGuard()
Definition GCObjectScopeGuard.h:66
virtual void AddReferencedObjects(FReferenceCollector &Collector) override
Definition GCObjectScopeGuard.h:75
TGCObjectsScopeGuard(const TGCObjectsScopeGuard &)=delete
TGCObjectsScopeGuard(const TArray< ObjectType * > &InObjects)
Definition GCObjectScopeGuard.h:61
UE_FORCEINLINE_HINT const TArray< ObjectType * > & Get() const
Definition GCObjectScopeGuard.h:85
Definition ObjectPtr.h:488
Definition PointerIsConvertibleFromTo.h:60