Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TDelegateRegistration_InRetValTy-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindThreadSafeSP
(
const TSharedRef< UserClass, ESPMode::ThreadSafe >& InUserObjectRef, |
Binds a shared pointer-based (thread-safe) member function delegate. | ||
void BindThreadSafeSP
(
const TSharedRef< UserClass, ESPMode::ThreadSafe >& InUserObjectRef, |
|||
void BindThreadSafeSP
(
UserClass* InUserObject, |
Binds a shared pointer-based (thread-safe) member function delegate. | ||
void BindThreadSafeSP
(
const UserClass* InUserObject, |
BindThreadSafeSP(const TSharedRef< UserClass, ESPMode::ThreadSafe > &, typename TMemFunPtrType< false, UserClass, RetValType(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
Description
Binds a shared pointer-based (thread-safe) member function delegate.
Shared pointer delegates keep a weak reference to your object. You can use ExecuteIfBound() to call them.
Note: This function is redundant, but is retained for backwards compatibility. BindSP() works in both thread-safe and not-thread-safe modes and should be preferred.
| Name | BindThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
void BindThreadSafeSP
(
const TSharedRef < UserClass, ESPMode::ThreadSafe > & InUserObjectRef,
typename TMemFunPtrType < false, UserClass, RetValType>::Type InFunc,
VarTypes &&... Vars
)
BindThreadSafeSP(const TSharedRef< UserClass, ESPMode::ThreadSafe > &, typename TMemFunPtrType< true, UserClass, RetValType(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
| Name | BindThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
void BindThreadSafeSP
(
const TSharedRef < UserClass, ESPMode::ThreadSafe > & InUserObjectRef,
typename TMemFunPtrType < true, UserClass, RetValType>::Type InFunc,
VarTypes &&... Vars
)
BindThreadSafeSP(UserClass *, typename TMemFunPtrType< false, UserClass, RetValType(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
Description
Binds a shared pointer-based (thread-safe) member function delegate.
Shared pointer delegates keep a weak reference to your object. You can use ExecuteIfBound() to call them.
Note: This function is redundant, but is retained for backwards compatibility. BindSP() works in both thread-safe and not-thread-safe modes and should be preferred.
| Name | BindThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
void BindThreadSafeSP
(
UserClass * InUserObject,
typename TMemFunPtrType < false, UserClass, RetValType>::Type InFunc,
VarTypes &&... Vars
)
BindThreadSafeSP(const UserClass *, typename TMemFunPtrType< true, UserClass, RetValType(ParamTypes..., std::decay_t< VarTypes >...)>::Type, VarTypes &&...)
| Name | BindThreadSafeSP |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename... VarTypes>
void BindThreadSafeSP
(
const UserClass * InUserObject,
typename TMemFunPtrType < true, UserClass, RetValType>::Type InFunc,
VarTypes &&... Vars
)