FDelegateGraphTask

Task class for more full featured delegate based tasks.

Windows
MacOS
Linux

Inheritance Hierarchy

FCustomStatIDGraphTaskBase

FDelegateGraphTask

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h

Include

#include "Async/TaskGraphInterfaces.h"

Syntax

class FDelegateGraphTask : public FCustomStatIDGraphTaskBase

Remarks

Task class for more full featured delegate based tasks. Still less efficient than a custom task, but provides all of the args

Variables

Name Description

Public variable

const ENamedThr...

 

DesiredThread

Thread to run delegate on

Public variable

FDelegate

 

TaskDelegate

Delegate to fire when task runs

Constructors

Name Description

Public function

FDelegateGraphTask

(
    const FDelegate& InTaskDeletegate,
    const TStatId InStatId,
    ENamedThreads::Type InDesiredThread
)

Task constructor

Functions

Name Description

Public function Static

FGraphEventR...

 

CreateAndDispatchWhenReady

(
    const FDelegate& InTaskDeletegate,
    const TStatId InStatId,
    const FGraphEventArray* InPrer...,
    ENamedThreads::Type InCurrentThread...,
    ENamedThreads::Type InDesiredThread
)

Create a task and dispatch it when the prerequisites are complete

Public function Static

FGraphEventR...

 

CreateAndDispatchWhenReady

(
    const FDelegate& InTaskDeletegate,
    const TStatId InStatId,
    const FGraphEventRef& InPrerequisi...,
    ENamedThreads::Type InCurrentThread...,
    ENamedThreads::Type InDesiredThread
)

Create a task and dispatch it when the prerequisites are complete

Public function

void

 

DoTask

(
    ENamedThreads::Type CurrentThread,
    const FGraphEventRef& MyCompletion...
)

Public function

ENamedThread...

 

GetDesiredThread()

Public function Static

ESubsequents...

 

GetSubsequentsMode()

Typedefs

Name

Description

FDelegate

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