Navigation
API > API/Runtime > API/Runtime/Core
| Name | TMulticastDelegateRegistration< void(ParamTypes...), UserPolicy > |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
Syntax
template<typename... ParamTypes, typename UserPolicy>
class TMulticastDelegateRegistration< void(ParamTypes...), UserPolicy > : public UserPolicy::FMulticastDelegateExtras
Inheritance Hierarchy
- UserPolicy::FMulticastDelegateExtras → TMulticastDelegateRegistration< void(ParamTypes...), UserPolicy >
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path | | --- | --- | --- | --- |Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelegateHandle Add
(
FDelegate&& InNewDelegate |
Adds a delegate instance to this multicast delegate's invocation list. | ||
FDelegateHandle Add
(
const FDelegate& InNewDelegate |
Adds a delegate instance to this multicast delegate's invocation list. | ||
FDelegateHandle AddLambda
(
FunctorType&& InFunctor, |
Adds a C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case | ||
FDelegateHandle AddRaw
(
const UserClass* InUserObject, |
|||
FDelegateHandle AddRaw
(
UserClass* InUserObject, |
Adds a raw C++ pointer delegate. | ||
FDelegateHandle AddSP
(
UserClass* InUserObject, |
Adds a shared pointer-based member function delegate. | ||
FDelegateHandle AddSP
(
const TSharedRef< UserClass, Mode >& InUserObjectRef, |
|||
FDelegateHandle AddSP
(
const TSharedRef< UserClass, Mode >& InUserObjectRef, |
Adds a shared pointer-based member function delegate. | ||
FDelegateHandle AddSP
(
const UserClass* InUserObject, |
|||
FDelegateHandle AddSPLambda
(
const UserClass* InUserObject, |
Adds a weak shared pointer C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case | ||
FDelegateHandle AddStatic
(
typename TBaseStaticDelegateInstance< void(ParamTypes...), UserPolicy, std::decay_t< VarTypes >... >..., |
Adds a raw C++ pointer global function delegate | ||
FDelegateHandle AddThreadSafeSP
(
const TSharedRef< UserClass, ESPMode::ThreadSafe >& InUserObjectRef, |
Adds a shared pointer-based (thread-safe) member function delegate. | ||
FDelegateHandle AddThreadSafeSP
(
const TSharedRef< UserClass, ESPMode::ThreadSafe >& InUserObjectRef, |
|||
FDelegateHandle AddThreadSafeSP
(
UserClass* InUserObject, |
Adds a shared pointer-based (thread-safe) member function delegate. | ||
FDelegateHandle AddThreadSafeSP
(
const UserClass* InUserObject, |
|||
FDelegateHandle AddUFunction
(
UObjectTemplate* InUserObject, |
Adds a UFunction-based member function delegate. | ||
FDelegateHandle AddUFunction
(
TObjectPtr< UObjectTemplate > InUserObject, |
|||
FDelegateHandle AddUObject
(
TObjectPtr< UserClass > InUserObject, |
|||
FDelegateHandle AddUObject
(
TObjectPtr< UserClass > InUserObject, |
|||
FDelegateHandle AddUObject
(
UserClass* InUserObject, |
Adds a UObject-based member function delegate. | ||
FDelegateHandle AddUObject
(
const UserClass* InUserObject, |
|||
FDelegateHandle AddWeakLambda
(
UserClass* InUserObject, |
Adds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case | ||
void Broadcast
(
ParamTypes... Params |
Broadcasting via a delegate registration reference is not allowed. | ||
bool Remove
(
FDelegateHandle Handle |
Removes a delegate instance from this multi-cast delegate's invocation list (performance is O(N)). |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TMulticastDelegateRegistration() |
|||
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|