Navigation
API > API/Runtime > API/Runtime/Core
A virtual interface for ref counted objects to implement.
| Name | IRefCountedObject |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include Path | #include "Templates/RefCounting.h" |
Syntax
class IRefCountedObject
Derived Classes
IRefCountedObject derived class hierarchy
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IRefCountedObject() |
Templates/RefCounting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReturnedRefCountValue AddRef() |
Templates/RefCounting.h | ||
uint32 GetRefCount() |
TODO (SOL-7350): mark this function as deprecated; clean up existing callers. | Templates/RefCounting.h | |
uint32 Release() |
TODO (SOL-7350): return FReturnedRefCountValue from Release(); clean up call sites which rely on its return value. | Templates/RefCounting.h |