| FGCObject
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/GCObjectScopeGuard.h |
Include |
#include "UObject/GCObjectScopeGuard.h" |
class FGCObjectScopeGuard : public FGCObject
Specific implementation of FGCObject that prevents a single UObject-based pointer from being GC'd while this guard is in scope.
This is the lean version of TStrongObjectPtr which uses an inline FGCObject so can't safely be used with containers that treat types as trivially relocatable.
Name | Description | |
---|---|---|
|
FGCObjectScopeGuard ( |
|
|
FGCObjectScopeGuard ( |
Non-copyable |
Name | Description | |
---|---|---|
|
~FGCObjectScopeGuard() |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |
Name | Description | ||
---|---|---|---|
|
FGCObjectSco... |
operator= ( |