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

#include <SharedPointerInternals.h>

+ Inheritance diagram for SharedPointerInternals::TIntrusiveReferenceController< ObjectType >:
+ Collaboration diagram for SharedPointerInternals::TIntrusiveReferenceController< ObjectType >:

Public Member Functions

template<typename... ArgTypes>
 TIntrusiveReferenceController (ArgTypes &&... Args)
 
ObjectType * GetObjectPtr () const
 
virtual void DestroyObject () override
 
 TIntrusiveReferenceController (const TIntrusiveReferenceController &)=delete
 
TIntrusiveReferenceControlleroperator= (const TIntrusiveReferenceController &)=delete
 
- Public Member Functions inherited from SharedPointerInternals::FReferenceControllerBase
FORCEINLINE FReferenceControllerBase ()
 
virtual ~FReferenceControllerBase ()
 

Private Attributes

TTypeCompatibleBytes< ObjectType > ObjectStorage
 

Additional Inherited Members

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

Detailed Description

template<typename ObjectType>
class SharedPointerInternals::TIntrusiveReferenceController< ObjectType >

Definition at line 131 of file SharedPointerInternals.h.

Constructor & Destructor Documentation

◆ TIntrusiveReferenceController() [1/2]

template<typename ObjectType >
template<typename... ArgTypes>
SharedPointerInternals::TIntrusiveReferenceController< ObjectType >::TIntrusiveReferenceController ( ArgTypes &&... Args)
inlineexplicit

Definition at line 135 of file SharedPointerInternals.h.

◆ TIntrusiveReferenceController() [2/2]

template<typename ObjectType >
SharedPointerInternals::TIntrusiveReferenceController< ObjectType >::TIntrusiveReferenceController ( const TIntrusiveReferenceController< ObjectType > & )
delete

Member Function Documentation

◆ DestroyObject()

template<typename ObjectType >
virtual void SharedPointerInternals::TIntrusiveReferenceController< ObjectType >::DestroyObject ( )
inlineoverridevirtual

Destroys the object associated with this reference counter.

Implements SharedPointerInternals::FReferenceControllerBase.

Definition at line 145 of file SharedPointerInternals.h.

◆ GetObjectPtr()

template<typename ObjectType >
ObjectType * SharedPointerInternals::TIntrusiveReferenceController< ObjectType >::GetObjectPtr ( ) const
inline

Definition at line 140 of file SharedPointerInternals.h.

◆ operator=()

template<typename ObjectType >
TIntrusiveReferenceController & SharedPointerInternals::TIntrusiveReferenceController< ObjectType >::operator= ( const TIntrusiveReferenceController< ObjectType > & )
delete

Member Data Documentation

◆ ObjectStorage

template<typename ObjectType >
TTypeCompatibleBytes<ObjectType> SharedPointerInternals::TIntrusiveReferenceController< ObjectType >::ObjectStorage
mutableprivate

The object associated with this reference counter.

Definition at line 156 of file SharedPointerInternals.h.


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