FMulticastDelegateBase

Abstract base class for multicast delegates.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Delegates/DelegateBase.h

Include

#include "Delegates/DelegateBase.h"

Syntax

template<typename ObjectPtrType>
class FMulticastDelegateBase

Remarks

Abstract base class for multicast delegates.

Constructors

Name Description

Protected function

FMulticastDelegateBase()

Hidden default constructor.

Destructors

Name Description

Public function

~FMulticastDelegateBase()

Functions

Name Description

Protected function

FDelegateHan...

 

AddInternal

(
    FDelegateBase&& NewDelegateBaseRef
)

Adds the given delegate instance to the invocation list.

Public function

void

 

Clear()

Removes all functions from this delegate's invocation list.

Protected function

void

 

CompactInvocationList

(
    bool CheckThreshold
)

Removes any expired or deleted functions from the invocation list.

Protected function Static

IDelegateIns...

 

GetDelegateInstanceProtectedHelper

(
    const FDelegateBase& Base
)

Helper function for derived classes of FMulticastDelegateBase to get at the delegate instance.

Protected function Const

const TInvoc...

 

GetInvocationList()

Gets a read-only reference to the invocation list.

Public function Const

bool

 

IsBound()

Checks to see if any functions are bound to this multi-cast delegate.

Public function Const

bool

 

IsBoundToObject

(
    void const* InUserObject
)

Checks to see if any functions are bound to the given user object.

Protected function Const

void

 

LockInvocationList()

Increments the lock counter for the invocation list.

Public function

int32

 

RemoveAll

(
    const void* InUserObject
)

Removes all functions from this multi-cast delegate's invocation list that are bound to the specified UserObject.

Protected function Const

void

 

UnlockInvocationList()

Decrements the lock counter for the invocation list.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss