Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Delegates
Inheritance Hierarchy
- IBaseDelegateInstance
- TCommonDelegateInstanceState
- TBaseSPMethodDelegateInstance< bConst, UserClass, SPMode, RetValType(ParamTypes...), UserPolicy, VarTypes... >
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.h |
| Include | #include "Delegates/DelegateInstancesImpl.h" |
Syntax
template<bool bConst, class UserClass, ESPMode SPMode, typename RetValType, typename... ParamTypes, typename UserPolicy, typename... VarTypes>
class TBaseSPMethodDelegateInstance< bConst, UserClass, SPMode, RetValType, UserPolicy, VarTypes... > : public TCommonDelegateInstanceState< RetValType, UserPolicy, VarTypes... >
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMethodPtr | MethodPtr | C++ member function pointer. | |
| TWeakPtr< UserClass, SPMode > | UserObject | Weak reference to an instance of the user's class which contains a method we would like to call. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateCopy
(
TDelegateBase< FThreadSafeDelegateMode >& Base |
||
| void | CreateCopy
(
TDelegateBase< FNotThreadSafeDelegateMode >& Base |
||
| void | CreateCopy
(
TDelegateBase< FNotThreadSafeNotCheckedDelegateMode >& Base |
||
| RetValType | Execute
(
ParamTypes... Params |
||
| bool | ExecuteIfSafe
(
ParamTypes... Params |
||
| uint64 | |||
| const void * | |||
| UObject * | GetUObject () |
||
| bool | HasSameObject
(
const void* InUserObject |
Deprecated. | |
| bool | |||
TBaseSPMethodDelegateInstance
(
const TSharedPtr< UserClass, SPMode >& InUserObject, |
|||
| FName |
Typedefs
| Name | Description |
|---|---|
| DelegateBaseType | |
| FMethodPtr | |
| Super |