FTimerUnifiedDelegate

Simple interface to wrap a timer delegate that can be either native or dynamic.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TimerManager.h

Include

#include "TimerManager.h"

Syntax

struct FTimerUnifiedDelegate

Remarks

Simple interface to wrap a timer delegate that can be either native or dynamic.

Variables

Name Description

Public variable

TFunction< void...

 

FuncCallback

Holds the TFunction callback to call.

Public variable

FTimerDelegate

 

FuncDelegate

Holds the delegate to call.

Public variable

FTimerDynamicDe...

 

FuncDynDelegate

Holds the dynamic delegate to call.

Constructors

Name Description

Public function

FTimerUnifiedDelegate()

Public function

FTimerUnifiedDelegate

(
    FTimerDelegate const& D
)

Public function

FTimerUnifiedDelegate

(
    FTimerDynamicDelegate const& D
)

Public function

FTimerUnifiedDelegate

(
    TFunction< void(void)>&& Callback
)

Public function

FTimerUnifiedDelegate

(
    FTimerUnifiedDelegate&&
)

Movable only.

Public function

FTimerUnifiedDelegate

(
    const FTimerUnifiedDelegate&
)

Functions

Name Description

Public function

void

 

Execute()

Public function Const

const void &...

 

GetBoundObject()

Public function Const

bool

 

IsBound()

Public function Const

FString

 

ToString()

Utility to output info about delegate as a string.

Public function

void

 

Unbind()

Operators

Name Description

Public function

FTimerUnifie...

 

operator=

(
    FTimerUnifiedDelegate&&
)

Public function

FTimerUnifie...

 

operator=

(
    const FTimerUnifiedDelegate&
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback