![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SharedPointer.h>
Inheritance diagram for uLang::CSharedMix:Public Member Functions | |
| CSharedMix () | |
| virtual UE_API | ~CSharedMix () |
| CSharedMix (const CSharedMix &Other)=delete | |
| CSharedMix & | operator= (const CSharedMix &Other)=delete |
| uint32_t | GetRefCount () const |
Static Protected Member Functions | |
| template<class ObjectType > | |
| static TSPtrG< ObjectType, false, CHeapRawAllocator > | SharedThis (ObjectType *This) |
| template<class ObjectType > | |
| static TSPtrG< const ObjectType, false, CHeapRawAllocator > | SharedThis (const ObjectType *This) |
Friends | |
| template<class ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType> | |
| class | TSPtrG |
| template<class ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType> | |
| class | TSPtrArrayG |
| template<class ObjectType , bool AllowNull, class KeyType , class AllocatorType , typename... AllocatorArgsType> | |
| class | TSPtrSetG |
Mixin super/base class for objects that need to be reference counted.
As a mixin it avoids the (minor) speed cost of virtual function calls and the virtual table memory cost (1 pointer). It uses the coding technique known as "mix-in from above"/"Curiously Recurring Template Pattern".
|
inline |
|
virtual |
|
delete |
|
inline |
|
delete |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
friend |
|
friend |
|
friend |