Navigation
API > API/Runtime > API/Runtime/Core
Please do not use this, long term we want it to go away. Being able to query the reference count can easily lead into really gnarly bugs and we generally don't want this sort of paradigm to be used more widely. But there are a few places where it is currently being legitimately used so we'll provide a queryable variant to let us deprecate the return of the reference count from `FRefCountedObject_ asap.
| Name | FQueryableRefCountedObject |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include Path | #include "Templates/RefCounting.h" |
Syntax
class FQueryableRefCountedObject : private UE::Private::TAtomicRefCount< uint32, UE::Private::ERefCountIsQueryable::Yes >
Inheritance Hierarchy
- TAtomicRefCount → FQueryableRefCountedObject
Derived Classes
FQueryableRefCountedObject derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Templates/RefCounting.h | |||
FQueryableRefCountedObject
(
const FQueryableRefCountedObject& Rhs |
Templates/RefCounting.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FQueryableRefCountedObject() |
Templates/RefCounting.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | UE::Private::TAtomicRefCount< uint32, UE::Private::ERefCountIsQueryable::Yes > | Templates/RefCounting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 AddRef() |
Templates/RefCounting.h | ||
uint32 GetRefCount() |
Templates/RefCounting.h | ||
uint32 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 |
|---|---|---|---|
FQueryableRefCountedObject & operator=
(
const FQueryableRefCountedObject& Rhs |
Templates/RefCounting.h |