Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMulticastDelegateRegistration_v-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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, |
AddThreadSafeSP(const TSharedRef< UserClass, ESPMode::ThreadSafe > &, typename TMemFunPtrType< false, UserClass, void(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
Description
Adds a shared pointer-based (thread-safe) member function delegate. Shared pointer delegates keep a weak reference to your object.
Note: This function is redundant, but is retained for backwards compatibility. AddSP() works in both thread-safe and not-thread-safe modes and should be preferred.
| Name | AddThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
FDelegateHandle AddThreadSafeSP
(
const TSharedRef < UserClass, ESPMode::ThreadSafe > & InUserObjectRef,
typename TMemFunPtrType < false, UserClass, void>::Type InFunc,
VarTypes &&... Vars
)
Parameters
| Name | Remarks |
|---|---|
| InUserObjectRef | User object to bind to |
| InFunc | Class method function address |
AddThreadSafeSP(const TSharedRef< UserClass, ESPMode::ThreadSafe > &, typename TMemFunPtrType< true, UserClass, void(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
| Name | AddThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
FDelegateHandle AddThreadSafeSP
(
const TSharedRef < UserClass, ESPMode::ThreadSafe > & InUserObjectRef,
typename TMemFunPtrType < true, UserClass, void>::Type InFunc,
VarTypes &&... Vars
)
AddThreadSafeSP(UserClass *, typename TMemFunPtrType< false, UserClass, void(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
Description
Adds a shared pointer-based (thread-safe) member function delegate.
Shared pointer delegates keep a weak reference to your object.
Note: This function is redundant, but is retained for backwards compatibility. AddSP() works in both thread-safe and not-thread-safe modes and should be preferred.
| Name | AddThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
FDelegateHandle AddThreadSafeSP
(
UserClass * InUserObject,
typename TMemFunPtrType < false, UserClass, void>::Type InFunc,
VarTypes &&... Vars
)
Parameters
| Name | Remarks |
|---|---|
| InUserObject | User object to bind to |
| InFunc | Class method function address |
AddThreadSafeSP(const UserClass *, typename TMemFunPtrType< true, UserClass, void(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
| Name | AddThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
FDelegateHandle AddThreadSafeSP
(
const UserClass * InUserObject,
typename TMemFunPtrType < true, UserClass, void>::Type InFunc,
VarTypes &&... Vars
)