Navigation
API > API/Runtime > API/Runtime/Core
| Name | TDelegateRegistration< InRetValType(ParamTypes...), UserPolicy > |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
Syntax
template<typename InRetValType, typename... ParamTypes, typename UserPolicy>
class TDelegateRegistration< InRetValType(ParamTypes...), UserPolicy > : public UserPolicy::FDelegateExtras
Inheritance Hierarchy
- UserPolicy::FDelegateExtras → TDelegateRegistration< InRetValType(ParamTypes...), UserPolicy >
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path | | --- | --- | --- | --- |Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindLambda
(
FunctorType&& InFunctor, |
Static: Binds a C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case | ||
void BindRaw
(
UserClass* InUserObject, |
Binds a raw C++ pointer delegate. | ||
void BindRaw
(
const UserClass* InUserObject, |
|||
void BindSP
(
const TSharedRef< UserClass, Mode >& InUserObjectRef, |
Binds a shared pointer-based member function delegate. | ||
void BindSP
(
const TSharedRef< UserClass, Mode >& InUserObjectRef, |
|||
void BindSP
(
UserClass* InUserObject, |
Binds a shared pointer-based member function delegate. | ||
void BindSP
(
const UserClass* InUserObject, |
|||
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, |
|||
void BindStatic
(
typename TBaseStaticDelegateInstance< FuncType, UserPolicy, std::decay_t< VarTypes >... >::FFuncPtr ..., |
Binds a raw C++ pointer global function delegate | ||
void BindThreadSafeSP
(
const UserClass* InUserObject, |
|||
void BindThreadSafeSP
(
UserClass* InUserObject, |
Binds a shared pointer-based (thread-safe) member function delegate. | ||
void BindThreadSafeSP
(
const TSharedRef< UserClass, ESPMode::ThreadSafe >& InUserObjectRef, |
|||
void BindThreadSafeSP
(
const TSharedRef< UserClass, ESPMode::ThreadSafe >& InUserObjectRef, |
Binds a shared pointer-based (thread-safe) member function delegate. | ||
void BindUFunction
(
UObjectTemplate* InUserObject, |
Binds a UFunction-based member function delegate. | ||
void BindUFunction
(
TObjectPtr< UObjectTemplate > InUserObject, |
|||
void BindUObject
(
UserClass* InUserObject, |
Binds a UObject-based member function delegate. | ||
void BindUObject
(
const UserClass* InUserObject, |
|||
void BindUObject
(
TObjectPtr< UserClass > InUserObject, |
|||
void BindUObject
(
TObjectPtr< UserClass > InUserObject, |
|||
void BindWeakLambda
(
const UObject* InUserObject, |
Static: Binds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case | ||
RetValType Execute
(
ParamTypes... Params |
Executing via a delegate registration reference is not allowed. | ||
bool ExecuteIfBound
(
ParamTypes... Params |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TDelegateRegistration() |
|||
TDelegateRegistration
(
const TDelegateRegistration& |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDelegateRegistration & operator=
(
const TDelegateRegistration& |