FSparseDelegate

Base implementation for all sparse delegate types

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/SparseDelegate.h

Include

#include "UObject/SparseDelegate.h"

Syntax

struct FSparseDelegate

Remarks

Base implementation for all sparse delegate types

Variables

Name Description

Protected variable

bool

 

bIsBound

Constructors

Name Description

Public function

FSparseDelegate()

Functions

Name Description

Public function

void

 

__Internal_AddUnique

(
    const UObject* DelegateOwner,
    FName DelegateName,
    FScriptDelegate InDelegate
)

Adds a function delegate to this multi-cast delegate's invocation list if a delegate with the same signature doesn't already exist in the invocation list

Public function

void

 

__Internal_Clear

(
    const UObject* DelegateOwner,
    FName DelegateName
)

Removes all functions from this delegate's invocation list

Public function

void

 

__Internal_Remove

(
    const UObject* DelegateOwner,
    FName DelegateName,
    const FScriptDelegate& InDelegate
)

Removes a function from this multi-cast delegate's invocation list (performance is O(N)).

Public function Const

bool

 

IsBound()

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

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