FDelegateHandle

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

Choose your operating system:

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