| TScriptDelegate
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
Include |
#include "Delegates/DelegateSignatureImpl.inl" |
template<typename TWeakPtr, typename RetValType, typename... ParamTypes>
class TBaseDynamicDelegate : public TScriptDelegate< TWeakPtr >
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.
Name | Description | |
---|---|---|
|
TBaseDynamicDelegate() |
Default constructor |
|
TBaseDynamicDelegate ( |
Construction from an FScriptDelegate must be explicit. |
Name | Description | ||
---|---|---|---|
|
__Internal_BindDynamic ( |
Binds a UObject instance and a UObject method address to this delegate. |
Name |
Description |
|
---|---|---|
|
TMethodPtrResolver |
Templated helper class to define a typedef for user's method pointer, then used below |