Navigation
API > API/Runtime > API/Runtime/Core
Base class implementing thread-safe reference counting.
| Name | FRefCountedObject |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include Path | #include "Templates/RefCounting.h" |
Syntax
class FRefCountedObject : private UE::Private::TAtomicRefCount< uint32 >
Inheritance Hierarchy
- TAtomicRefCount → FRefCountedObject
Derived Classes
FRefCountedObject derived class hierarchy
- IMPCollector
- FBatchedElementParameters
- FStaticLightingMapping
- FStaticLightingMesh
- FCookRand
- IDataflowDebugDrawObject
- FDllHandle
- FFile
- FGeometryCollectionResults
- FGPUSortManager
- FHairStrandsInstance
- FLandscapeSharedBuffers
- FMemoryImageSection
- FNiagaraGPURendererCount
- FPackageHashes
- FPakFile
- FPendingShaderMapCompileResults
- FPimpl::FLimiterTask
- IQueuedWorkInternalData
- FRDGPooledTexture
- FRefCountBase
- FSceneCaptureMemorySize
- FSection
- FShaderMapResourceCode
- FSharedImage
- FSharedShaderCompilerEnvironment
- FThreadSafeRefCountedObject
- HHitProxy
- IDeterminismHelper
- IPathTracingSpatialTemporalDenoiser::IHistory
- TErrorDetails
- TLocalWorkQueue::FInternalData
- TMandatoryErrorDetailsRefCounting
- UCookOnTheFlyServer::FPollable
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 |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | UE::Private::TAtomicRefCount< uint32 > | Templates/RefCounting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRef() |
Templates/RefCounting.h | ||
FReturnedRefCountValue GetRefCount() |
Templates/RefCounting.h | ||
FReturnedRefCountValue Release() |
Templates/RefCounting.h |
Public Virtual
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DeleteThis
(
const Super* This |
Templates/RefCounting.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRefCountedObject & operator=
(
const FRefCountedObject& Rhs |
Templates/RefCounting.h |