Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
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
 
uint32 AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Private Attributes

int32 NumRefs
 

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.

Definition at line 78 of file RefCounting.h.

Constructor & Destructor Documentation

◆ FRefCountedObject() [1/2]

FRefCountedObject::FRefCountedObject ( )
inline

Definition at line 81 of file RefCounting.h.

◆ ~FRefCountedObject()

virtual FRefCountedObject::~FRefCountedObject ( )
inlinevirtual

Definition at line 82 of file RefCounting.h.

◆ FRefCountedObject() [2/2]

FRefCountedObject::FRefCountedObject ( const FRefCountedObject & Rhs)
delete

Member Function Documentation

◆ AddRef()

uint32 FRefCountedObject::AddRef ( ) const
inline

Definition at line 85 of file RefCounting.h.

◆ GetRefCount()

uint32 FRefCountedObject::GetRefCount ( ) const
inline

Definition at line 98 of file RefCounting.h.

◆ operator=()

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

◆ Release()

uint32 FRefCountedObject::Release ( ) const
inline

Definition at line 89 of file RefCounting.h.

Member Data Documentation

◆ NumRefs

int32 FRefCountedObject::NumRefs
mutableprivate

Definition at line 103 of file RefCounting.h.


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