Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Delegates
Inheritance Hierarchy
- TDelegateAccessHandlerBase
- TScriptDelegate
- TBaseDynamicDelegate
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include | #include "Delegates/DelegateSignatureImpl.inl" |
Syntax
template<typename ThreadSafetyMode , typename RetValType, typename... ParamTypes>
class TBaseDynamicDelegate : public TScriptDelegate< ThreadSafetyMode >
Remarks
Dynamic delegate template class (UObject-based, serializable). You'll use the various DECLARE_DYNAMIC_DELEGATE macros to create the actual delegate type, templated to the function signature the delegate is compatible with. Then, you can create an instance of that class when you want to assign functions to the delegate.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
TBaseDynamicDelegate
(
const TScriptDelegate< ThreadSafetyMode >& InScriptDelegate |
Construction from an FScriptDelegate must be explicit. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | __Internal_BindDynamic
(
UserClass* InUserObject, |
Binds a UObject instance and a UObject method address to this delegate. | |
| void | __Internal_BindDynamic
(
TObjectPtr< UserClass > InUserObject, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| TMethodPtrResolver | Templated helper class to define a typedef for user's method pointer, then used below |