Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TDelegateRegistration_InRetValTy-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindSPLambda
(
const TSharedRef< UserClass, Mode >& InUserObjectRef, |
Static: Binds a weak shared pointer C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case | ||
void BindSPLambda
(
const UserClass* InUserObject, |
BindSPLambda(const TSharedRef< UserClass, Mode > &, FunctorType &&, VarTypes &&...)
Description
Static: Binds a weak shared pointer C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case
| Name | BindSPLambda |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, ESPMode Mode, typename FunctorType, typename... VarTypes>
void BindSPLambda
(
const TSharedRef < UserClass, Mode > & InUserObjectRef,
FunctorType && InFunctor,
VarTypes &&... Vars
)
BindSPLambda(const UserClass *, FunctorType &&, VarTypes &&...)
| Name | BindSPLambda |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename FunctorType, typename... VarTypes>
void BindSPLambda
(
const UserClass * InUserObject,
FunctorType && InFunctor,
VarTypes &&... Vars
)