Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
SharedPointerInternals::FReferenceControllerBase Class Referenceabstract

#include <SharedPointerInternals.h>

+ Inheritance diagram for SharedPointerInternals::FReferenceControllerBase:

Public Member Functions

FORCEINLINE FReferenceControllerBase ()
 
virtual void DestroyObject ()=0
 
virtual ~FReferenceControllerBase ()
 

Public Attributes

int32 SharedReferenceCount
 
int32 WeakReferenceCount
 

Private Member Functions

 FReferenceControllerBase (FReferenceControllerBase const &)
 
FReferenceControllerBaseoperator= (FReferenceControllerBase const &)
 

Detailed Description

Definition at line 73 of file SharedPointerInternals.h.

Constructor & Destructor Documentation

◆ FReferenceControllerBase() [1/2]

FORCEINLINE SharedPointerInternals::FReferenceControllerBase::FReferenceControllerBase ( )
inlineexplicit

Constructor

Definition at line 77 of file SharedPointerInternals.h.

◆ ~FReferenceControllerBase()

virtual SharedPointerInternals::FReferenceControllerBase::~FReferenceControllerBase ( )
inlinevirtual

Definition at line 97 of file SharedPointerInternals.h.

◆ FReferenceControllerBase() [2/2]

SharedPointerInternals::FReferenceControllerBase::FReferenceControllerBase ( FReferenceControllerBase const & )
private

Member Function Documentation

◆ DestroyObject()

virtual void SharedPointerInternals::FReferenceControllerBase::DestroyObject ( )
pure virtual

Destroys the object associated with this reference counter.

Implemented in SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >, and SharedPointerInternals::TIntrusiveReferenceController< ObjectType >.

+ Here is the caller graph for this function:

◆ operator=()

FReferenceControllerBase & SharedPointerInternals::FReferenceControllerBase::operator= ( FReferenceControllerBase const & )
private

Member Data Documentation

◆ SharedReferenceCount

int32 SharedPointerInternals::FReferenceControllerBase::SharedReferenceCount

Number of shared references to this object. When this count reaches zero, the associated object will be destroyed (even if there are still weak references!)

Definition at line 88 of file SharedPointerInternals.h.

◆ WeakReferenceCount

int32 SharedPointerInternals::FReferenceControllerBase::WeakReferenceCount

Number of weak references to this object. If there are any shared references, that counts as one weak reference too.

Definition at line 92 of file SharedPointerInternals.h.


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