Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe > Struct Reference

#include <SharedPointerInternals.h>

Static Public Member Functions

static FORCEINLINE const int32 GetSharedReferenceCount (const FReferenceControllerBase *ReferenceController)
 
static FORCEINLINE void AddSharedReference (FReferenceControllerBase *ReferenceController)
 
static bool ConditionallyAddSharedReference (FReferenceControllerBase *ReferenceController)
 
static FORCEINLINE void ReleaseSharedReference (FReferenceControllerBase *ReferenceController)
 
static FORCEINLINE void AddWeakReference (FReferenceControllerBase *ReferenceController)
 
static void ReleaseWeakReference (FReferenceControllerBase *ReferenceController)
 

Detailed Description

Definition at line 230 of file SharedPointerInternals.h.

Member Function Documentation

◆ AddSharedReference()

static FORCEINLINE void SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe >::AddSharedReference ( FReferenceControllerBase * ReferenceController)
inlinestatic

Adds a shared reference to this counter

Definition at line 240 of file SharedPointerInternals.h.

◆ AddWeakReference()

static FORCEINLINE void SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe >::AddWeakReference ( FReferenceControllerBase * ReferenceController)
inlinestatic

Adds a weak reference to this counter

Definition at line 294 of file SharedPointerInternals.h.

◆ ConditionallyAddSharedReference()

static bool SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe >::ConditionallyAddSharedReference ( FReferenceControllerBase * ReferenceController)
inlinestatic

Adds a shared reference to this counter ONLY if there is already at least one reference

Returns
True if the shared reference was added successfully

Definition at line 250 of file SharedPointerInternals.h.

◆ GetSharedReferenceCount()

static FORCEINLINE const int32 SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe >::GetSharedReferenceCount ( const FReferenceControllerBase * ReferenceController)
inlinestatic

Returns the shared reference count

Definition at line 233 of file SharedPointerInternals.h.

◆ ReleaseSharedReference()

static FORCEINLINE void SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe >::ReleaseSharedReference ( FReferenceControllerBase * ReferenceController)
inlinestatic

Releases a shared reference to this counter

Definition at line 277 of file SharedPointerInternals.h.

+ Here is the call graph for this function:

◆ ReleaseWeakReference()

static void SharedPointerInternals::FReferenceControllerOps< ESPMode::ThreadSafe >::ReleaseWeakReference ( FReferenceControllerBase * ReferenceController)
inlinestatic

Releases a weak reference to this counter

Definition at line 300 of file SharedPointerInternals.h.

+ Here is the caller graph for this function:

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