Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FDelegateBase Class Reference

#include <DelegateBase.h>

+ Collaboration diagram for FDelegateBase:

Protected Member Functions

 FDelegateBase ()
 
 ~FDelegateBase ()
 
 FDelegateBase (FDelegateBase &&Other)
 
FDelegateBaseoperator= (FDelegateBase &&Other)
 
FORCEINLINE void Unbind ()
 
FORCEINLINE IDelegateInstanceGetDelegateInstanceProtected () const
 
SIZE_T GetAllocatedSize () const
 

Private Member Functions

voidAllocate (int32 Size)
 
 UE_DELEGATES_MT_ACCESS_DETECTOR (AccessDetector)
 

Private Attributes

FDelegateAllocatorType::ForElementType< FAlignedInlineDelegateTypeDelegateAllocator
 
int32 DelegateSize
 

Friends

template<typename >
class TMulticastDelegateBase
 
template<typename >
class TDelegateBase
 
voidoperator new (size_t Size, FDelegateBase &Base)
 

Detailed Description

Base class for unicast delegates.

Definition at line 43 of file DelegateBase.h.

Constructor & Destructor Documentation

◆ FDelegateBase() [1/2]

FDelegateBase::FDelegateBase ( )
inlineexplicitprotected

Creates and initializes a new instance.

Parameters
InDelegateInstanceThe delegate instance to assign.

Definition at line 57 of file DelegateBase.h.

◆ ~FDelegateBase()

FDelegateBase::~FDelegateBase ( )
inlineprotected

Definition at line 62 of file DelegateBase.h.

+ Here is the call graph for this function:

◆ FDelegateBase() [2/2]

FDelegateBase::FDelegateBase ( FDelegateBase && Other)
inlineprotected

Move constructor.

Definition at line 70 of file DelegateBase.h.

Member Function Documentation

◆ Allocate()

void * FDelegateBase::Allocate ( int32 Size)
inlineprivate

Definition at line 130 of file DelegateBase.h.

+ Here is the call graph for this function:

◆ GetAllocatedSize()

SIZE_T FDelegateBase::GetAllocatedSize ( ) const
inlineprotected

Returns the amount of memory allocated by this delegate, not including sizeof(*this).

Definition at line 122 of file DelegateBase.h.

◆ GetDelegateInstanceProtected()

FORCEINLINE IDelegateInstance * FDelegateBase::GetDelegateInstanceProtected ( ) const
inlineprotected

Gets the delegate instance. Not intended for use by user code.

Returns
The delegate instance.
See also
SetDelegateInstance

Definition at line 112 of file DelegateBase.h.

+ Here is the caller graph for this function:

◆ operator=()

FDelegateBase & FDelegateBase::operator= ( FDelegateBase && Other)
inlineprotected

Move assignment.

Definition at line 80 of file DelegateBase.h.

+ Here is the call graph for this function:

◆ UE_DELEGATES_MT_ACCESS_DETECTOR()

FDelegateBase::UE_DELEGATES_MT_ACCESS_DETECTOR ( AccessDetector )
private

◆ Unbind()

FORCEINLINE void FDelegateBase::Unbind ( )
inlineprotected

Unbinds this delegate

Definition at line 94 of file DelegateBase.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator new

void * operator new ( size_t Size,
FDelegateBase & Base )
friend

Definition at line 156 of file DelegateBase.h.

◆ TDelegateBase

template<typename >
friend class TDelegateBase
friend

Definition at line 49 of file DelegateBase.h.

◆ TMulticastDelegateBase

Definition at line 46 of file DelegateBase.h.

Member Data Documentation

◆ DelegateAllocator

FDelegateAllocatorType::ForElementType<FAlignedInlineDelegateType> FDelegateBase::DelegateAllocator
private

Definition at line 150 of file DelegateBase.h.

◆ DelegateSize

int32 FDelegateBase::DelegateSize
private

Definition at line 151 of file DelegateBase.h.


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