TBaseSPMethodDelegateInstance< bConst, UserClass, SPMode, WrappedRetValType(ParamTypes...), UserPolicy, VarTypes... >

Windows
MacOS
Linux

Inheritance Hierarchy

TCommonDelegateInstanceState

TBaseSPMethodDelegateInstance< bConst, UserClass, SPMode, WrappedRetValType(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 WrappedRetValType, typename... ParamTypes, typename UserPolicy, typename... VarTypes>
class TBaseSPMethodDelegateInstance< bConst, UserClass, SPMode, WrappedRetValType(ParamTypes...), UserPolicy, VarTypes... > : public TCommonDelegateInstanceState< WrappedRetValType(ParamTypes...), UserPolicy, VarTypes... >

Variables

Name Description

Protected variable

FMethodPtr

 

MethodPtr

C++ member function pointer.

Protected variable

TWeakPtr< UserC...

 

UserObject

Weak reference to an instance of the user's class which contains a method we would like to call.

Functions

Name Description

Public function Static

void

 

Create

(
    FDelegateBase& Base,
    const TSharedPtr< UserClass, SPMode...,
    FMethodPtr InFunc,
    VarTypes... Vars
)

Creates a new shared pointer delegate binding for the given user object and method pointer.

Public function Static

void

 

Create

(
    FDelegateBase& Base,
    UserClass* InUserObject,
    FMethodPtr InFunc,
    VarTypes... Vars
)

Creates a new shared pointer delegate binding for the given user object and method pointer.

Public function

void

 

CreateCopy

(
    FDelegateBase& Base
)

Public function Const

RetValType

 

Execute

(
    ParamTypes... Params
)

Public function Const

bool

 

ExecuteIfSafe

(
    ParamTypes... Params
)

Public function Const

uint64

 

GetBoundProgramCounterForTimerManager()

Public function Const

const void &...

 

GetObjectForTimerManager()

Public function Const

UObject *...

 

GetUObject()

Public function Const

bool

 

HasSameObject

(
    const void* InUserObject
)

Deprecated.

Public function Const

bool

 

IsSafeToExecute()

Public function

 

TBaseSPMethodDelegateInstance

(
    const TSharedPtr< UserClass, SPMode...,
    FMethodPtr InMethodPtr,
    VarTypes... Vars
)

Typedefs

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss