This class provides common registration for garbage collection for non-UObject classes. 更多...
#include <GCObject.h>
类 FGCObject 继承关系图:Public 成员函数 | |
| virtual void | AddReferencedObjects (FReferenceCollector &Collector)=0 |
| Pure virtual that must be overloaded by the inheriting class. 更多... | |
| FGCObject (FGCObject &&) | |
| Move constructor | |
| FGCObject (FGCObject const &) | |
| Copy constructor | |
| FGCObject (void) | |
| Tells the global object that forwards AddReferencedObjects calls on to objects that a new object is requiring AddReferencedObjects call. | |
| virtual FString | GetReferencerName () const |
| Use this method to report a name for your referencer. | |
| virtual bool | GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const |
| Use this method to report how the specified object is referenced, if necessary | |
| virtual | ~FGCObject (void) |
| Removes this instance from the global referencer's list | |
静态 Public 成员函数 | |
| static void | StaticInit (void) |
| Initializes the global object referencer and adds it to the root set. | |
静态 Public 属性 | |
| static UGCObjectReferencer * | GGCObjectReferencer |
| The static object referencer object that is shared across all garbage collectible non-UObject objects. | |
This class provides common registration for garbage collection for non-UObject classes.
It is an abstract base class requiring you to implement the AddReferencedObjects() method.
|
pure virtual |
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. |
在 FARSupportInterface, FGCObjectScopeGuard, TGCObjectsScopeGuard< ObjectType >, FStreamableManager, FParticleSystemWorldManager, FDistanceFieldAsyncQueue, FRepLayout, FPreviewScene, FViewport::FHitProxyMap, FStandaloneCompositeFont, FSlateDrawBuffer, SMeshWidget , 以及 FUMGDragDropOp 内被实现.