Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType > Class Template Reference

#include <SharedPointerInternals.h>

+ Inheritance diagram for SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >:
+ Collaboration diagram for SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >:

Public Member Functions

 TReferenceControllerWithDeleter (ObjectType *InObject, DeleterType &&Deleter)
 
virtual void DestroyObject () override
 
 TReferenceControllerWithDeleter (const TReferenceControllerWithDeleter &)=delete
 
TReferenceControllerWithDeleteroperator= (const TReferenceControllerWithDeleter &)=delete
 
- Public Member Functions inherited from SharedPointerInternals::FReferenceControllerBase
FORCEINLINE FReferenceControllerBase ()
 
virtual ~FReferenceControllerBase ()
 

Private Attributes

ObjectType * Object
 

Additional Inherited Members

- Public Attributes inherited from SharedPointerInternals::FReferenceControllerBase
int32 SharedReferenceCount
 
int32 WeakReferenceCount
 

Detailed Description

template<typename ObjectType, typename DeleterType>
class SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >

Definition at line 107 of file SharedPointerInternals.h.

Constructor & Destructor Documentation

◆ TReferenceControllerWithDeleter() [1/2]

template<typename ObjectType , typename DeleterType >
SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >::TReferenceControllerWithDeleter ( ObjectType * InObject,
DeleterType && Deleter )
inlineexplicit

Definition at line 110 of file SharedPointerInternals.h.

◆ TReferenceControllerWithDeleter() [2/2]

template<typename ObjectType , typename DeleterType >
SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >::TReferenceControllerWithDeleter ( const TReferenceControllerWithDeleter< ObjectType, DeleterType > & )
delete

Member Function Documentation

◆ DestroyObject()

template<typename ObjectType , typename DeleterType >
virtual void SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >::DestroyObject ( )
inlineoverridevirtual

Destroys the object associated with this reference counter.

Implements SharedPointerInternals::FReferenceControllerBase.

Definition at line 116 of file SharedPointerInternals.h.

◆ operator=()

template<typename ObjectType , typename DeleterType >
TReferenceControllerWithDeleter & SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >::operator= ( const TReferenceControllerWithDeleter< ObjectType, DeleterType > & )
delete

Member Data Documentation

◆ Object

template<typename ObjectType , typename DeleterType >
ObjectType* SharedPointerInternals::TReferenceControllerWithDeleter< ObjectType, DeleterType >::Object
private

The object associated with this reference counter.

Definition at line 127 of file SharedPointerInternals.h.


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