Navigation
API > API/Runtime > API/Runtime/Core
The base class of reference counted objects.
This class should not be used for new code as it does not use atomic operations to update the reference count.
| Name | FRefCountedObject |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include Path | #include "Templates/RefCounting.h" |
Syntax
class FRefCountedObject
Derived Classes
FRefCountedObject derived class hierarchy
- FBatchedElementParameters
- FStaticLightingMapping
- FStaticLightingMesh
- IDataflowDebugDrawObject
- FDllHandle
- FGeometryCollectionResults
- FGPUProfilerEventNodeStats
- FGPUSortManager
- FLandscapeSharedBuffers
- FMemoryImageSection
- FNiagaraGPURendererCount
- HHitProxy
- ULandscapeMeshCollisionComponent::FTriMeshGeometryRef
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Templates/RefCounting.h | |||
FRefCountedObject
(
const FRefCountedObject& Rhs |
Templates/RefCounting.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRefCountedObject() |
Templates/RefCounting.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumRefs | int32 | Templates/RefCounting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReturnedRefCountValue AddRef() |
Templates/RefCounting.h | ||
uint32 GetRefCount() |
Templates/RefCounting.h | ||
uint32 Release() |
Templates/RefCounting.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRefCountedObject & operator=
(
const FRefCountedObject& Rhs |
Templates/RefCounting.h |