engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 静态 Public 属性 | 所有成员列表
FGCObject类 参考abstract

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.

成员函数说明

◆ AddReferencedObjects()

virtual void FGCObject::AddReferencedObjects ( FReferenceCollector &  Collector)
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.

参数
CollectorThe collector of referenced objects.

在 FARSupportInterface, FGCObjectScopeGuard, TGCObjectsScopeGuard< ObjectType >, FStreamableManager, FParticleSystemWorldManager, FDistanceFieldAsyncQueue, FRepLayout, FPreviewScene, FViewport::FHitProxyMap, FStandaloneCompositeFont, FSlateDrawBuffer, SMeshWidget , 以及 FUMGDragDropOp 内被实现.


该类的文档由以下文件生成: