Navigation
API > API/Runtime > API/Runtime/Core
| Name | TWeakBaseFunctorDelegateInstance< RetValType(ParamTypes...), UserPolicy, FunctorType, VarTypes... > |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.h |
| Include Path | #include "Delegates/DelegateInstancesImpl.h" |
Syntax
template<typename RetValType, typename... ParamTypes, typename UserPolicy, typename FunctorType, typename... VarTypes>
class TWeakBaseFunctorDelegateInstance< RetValType, UserPolicy, FunctorType, VarTypes... > : public TCommonDelegateInstanceState< RetValType, UserPolicy, VarTypes... >
Implements Interfaces
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DelegateBaseType | typename UserPolicy::FDelegateExtras | Delegates/DelegateInstancesImpl.h | |
| Super | TCommonDelegateInstanceState< RetValType(ParamTypes...), UserPolicy, VarTypes... > | Delegates/DelegateInstancesImpl.h | |
| UserClass | std::conditional_t< sizeof...(ParamTypes)==0, const UObject, const UObject > | A dependency on the template parameter is required here to stop early instantiation of types which are defined in CoreUObject. | Delegates/DelegateInstancesImpl.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContextObject | TWeakObjectPtr< UserClass > | Context object - the validity of this object controls the validity of the lambda. | Delegates/DelegateInstancesImpl.h | |
| Functor | std::remove_const_t< FunctorType > | C++ functor We make this mutable to allow mutable lambdas to be bound and executed. | Delegates/DelegateInstancesImpl.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateCopy
(
TDelegateBase< FThreadSafeDelegateMode >& Base |
Delegates/DelegateInstancesImpl.h | ||
void CreateCopy
(
TDelegateBase< FNotThreadSafeDelegateMode >& Base |
Delegates/DelegateInstancesImpl.h | ||
void CreateCopy
(
TDelegateBase< FNotThreadSafeNotCheckedDelegateMode >& Base |
Delegates/DelegateInstancesImpl.h | ||
RetValType Execute
(
ParamTypes... Params |
Delegates/DelegateInstancesImpl.h | ||
bool ExecuteIfSafe
(
ParamTypes... Params |
Delegates/DelegateInstancesImpl.h | ||
uint64 GetBoundProgramCounterForTimerManager() |
Delegates/DelegateInstancesImpl.h | ||
const void * GetObjectForTimerManager() |
Delegates/DelegateInstancesImpl.h | ||
UObject * GetUObject() |
Delegates/DelegateInstancesImpl.h | ||
bool HasSameObject
(
FDelegateUserObjectConst InContextObject |
Deprecated. | Delegates/DelegateInstancesImpl.h | |
bool IsCompactable() |
Delegates/DelegateInstancesImpl.h | ||
bool IsSafeToExecute() |
Delegates/DelegateInstancesImpl.h | ||
FName TryGetBoundFunctionName() |
Delegates/DelegateInstancesImpl.h | ||
TWeakBaseFunctorDelegateInstance
(
UserClass* InContextObject, |
Delegates/DelegateInstancesImpl.h |