TFunctionGraphTaskImpl

Task class for lambda based tasks.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FCustomStatIDGraphTaskBase

TFunctionGraphTaskImpl

References

Module

Core

Header

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

Include

#include "Async/TaskGraphInterfaces.h"

Syntax

template<typename Signature, ESubsequentsMode::Type SubsequentsMode>
class TFunctionGraphTaskImpl : public FCustomStatIDGraphTaskBase

Remarks

Task class for lambda based tasks.

Constructors

Name Description

Public function

TFunctionGraphTaskImpl

(
    TUniqueFunction< Signature >&& InF...,
    TStatId StatId,
    ENamedThreads::Type InDesiredThread
)

Task constructor

Functions

Name Description

Public function

void

 

DoTask

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

Public function Const

ENamedThread...

 

GetDesiredThread()

Public function Static

ESubsequents...

 

GetSubsequentsMode()