UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRefCountedObject Class Reference

#include <RefCounting.h>

+ Inheritance diagram for FRefCountedObject:

Public Member Functions

 FRefCountedObject ()
 
virtual ~FRefCountedObject ()
 
 FRefCountedObject (const FRefCountedObject &Rhs)=delete
 
FRefCountedObjectoperator= (const FRefCountedObject &Rhs)=delete
 
FReturnedRefCountValue AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FRefCountedObject() [1/2]

FRefCountedObject::FRefCountedObject ( )
inline

◆ ~FRefCountedObject()

virtual FRefCountedObject::~FRefCountedObject ( )
inlinevirtual

◆ FRefCountedObject() [2/2]

FRefCountedObject::FRefCountedObject ( const FRefCountedObject Rhs)
delete

Member Function Documentation

◆ AddRef()

FReturnedRefCountValue FRefCountedObject::AddRef ( ) const
inline

◆ GetRefCount()

uint32 FRefCountedObject::GetRefCount ( ) const
inline

◆ operator=()

FRefCountedObject & FRefCountedObject::operator= ( const FRefCountedObject Rhs)
delete

◆ Release()

uint32 FRefCountedObject::Release ( ) const
inline

The documentation for this class was generated from the following file: