TBaseMulticastDelegate< void, ParamTypes... >

Windows
MacOS
Linux

Inheritance Hierarchy

FMulticastDelegateBase

TBaseMulticastDelegate< void, ParamTypes... >

TMulticastDelegate< void, ParamTypes... >

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl

Include

#include "Delegates/DelegateSignatureImpl.inl"

Syntax

template<typename... ParamTypes>
class TBaseMulticastDelegate< void, ParamTypes... > : public FMulticastDelegateBase< FWeakObjectPtr >

Functions

Name Description

Public function

FDelegateHan...

 

Add

(
    const FDelegate& InNewDelegate
)

Adds a delegate instance to this multicast delegate's invocation list.

Public function

FDelegateHan...

 

Add

(
    FDelegate&& InNewDelegate
)

Adds a delegate instance to this multicast delegate's invocation list.

Protected function

FDelegateHan...

 

AddDelegateInstance

(
    FDelegate&& InNewDelegate
)

Adds a function delegate to this multi-cast delegate's invocation list.

Public function

FDelegateHan...

 

AddLambda

(
    FunctorType&& InFunctor,
    VarTypes... Vars
)

Adds a C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case

Public function

FDelegateHan...

 

AddRaw

(
    UserClass* InUserObject,
    typename TMemFunPtrType< false, Use...,
    VarTypes... Vars
)

Adds a raw C++ pointer delegate.

Public function

FDelegateHan...

 

AddRaw

(
    UserClass* InUserObject,
    typename TMemFunPtrType< true, User...,
    VarTypes... Vars
)

Public function

FDelegateHan...

 

AddSP

(
    UserClass* InUserObject,
    typename TMemFunPtrType< false, Use...,
    VarTypes... Vars
)

Adds a shared pointer-based (fast, not thread-safe) member function delegate.

Public function

FDelegateHan...

 

AddSP

(
    const TSharedRef< UserClass, ESPMod...,
    typename TMemFunPtrType< false, Use...,
    VarTypes... Vars
)

Adds a shared pointer-based (fast, not thread-safe) member function delegate.

Public function

FDelegateHan...

 

AddSP

(
    const TSharedRef< UserClass, ESPMod...,
    typename TMemFunPtrType< true, User...,
    VarTypes... Vars
)

Public function

FDelegateHan...

 

AddSP

(
    UserClass* InUserObject,
    typename TMemFunPtrType< true, User...,
    VarTypes... Vars
)

Public function

FDelegateHan...

 

AddStatic

(
    typename TBaseStaticDelegateInstanc...,
    VarTypes... Vars
)

Adds a raw C++ pointer global function delegate

Public function

FDelegateHan...

 

AddThreadSafeSP

(
    UserClass* InUserObject,
    typename TMemFunPtrType< true, User...,
    VarTypes... Vars
)

Public function

FDelegateHan...

 

AddThreadSafeSP

(
    const TSharedRef< UserClass, ESPMod...,
    typename TMemFunPtrType< false, Use...,
    VarTypes... Vars
)

Adds a shared pointer-based (slower, conditionally thread-safe) member function delegate.

Public function

FDelegateHan...

 

AddThreadSafeSP

(
    const TSharedRef< UserClass, ESPMod...,
    typename TMemFunPtrType< true, User...,
    VarTypes... Vars
)

Public function

FDelegateHan...

 

AddThreadSafeSP

(
    UserClass* InUserObject,
    typename TMemFunPtrType< false, Use...,
    VarTypes... Vars
)

Adds a shared pointer-based (slower, conditionally thread-safe) member function delegate.

Public function

FDelegateHan...

 

AddUFunction

(
    UObjectTemplate* InUserObject,
    const FName& InFunctionName,
    VarTypes... Vars
)

Adds a UFunction-based member function delegate.

Public function

FDelegateHan...

 

AddUObject

(
    UserClass* InUserObject,
    typename TMemFunPtrType< true, User...,
    VarTypes... Vars
)

Public function

FDelegateHan...

 

AddUObject

(
    UserClass* InUserObject,
    typename TMemFunPtrType< false, Use...,
    VarTypes... Vars
)

Adds a UObject-based member function delegate.

Public function

FDelegateHan...

 

AddWeakLambda

(
    UserClass* InUserObject,
    FunctorType&& InFunctor,
    VarTypes... Vars
)

Adds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case

Public function Const

void

 

Broadcast

(
    ParamTypes... Params
)

Broadcasts this delegate to all bound objects, except to those that may have expired.

Public function

bool

 

Remove

(
    FDelegateHandle Handle
)

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

Protected function

bool

 

RemoveDelegateInstance

(
    FDelegateHandle Handle
)

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

Protected function

 

TBaseMulticastDelegate()

Hidden default constructor.

Protected function

 

TBaseMulticastDelegate

(
    const TBaseMulticastDelegate& Othe...
)

Hidden copy constructor (for proper deep copies).

Operators

Name Description

Protected function

TBaseMultica...

 

operator=

(
    const TBaseMulticastDelegate& Othe...
)

Hidden assignment operator (for proper deep copies).

Typedefs

Name

Description

FDelegate

Type definition for unicast delegate classes whose delegate instances are compatible with this delegate.

Super

TDelegateInstanceInterface

Type definition for the shared interface of delegate instance types compatible with this delegate class.

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