FDelegateHandle

Class representing a handle to a specific object/function pair bound to a delegate.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Delegates/IDelegateInstance.h

Include

#include "Delegates/IDelegateInstance.h"

Syntax

class FDelegateHandle

Remarks

Class representing a handle to a specific object/function pair bound to a delegate.

Constructors

Name Description

Public function

FDelegateHandle()

Creates an initially unset handle

Public function

FDelegateHandle

Creates a handle pointing to a new instance

Functions

Name Description

Public function Const

bool

 

IsValid()

Returns true if this was ever bound to a delegate, but you need to check with the owning delegate to confirm it is still valid

Public function

void

 

Reset()

Clear handle to indicate it is no longer bound

Enums

Name

Description

Public enum

EGenerateNewHandleType

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