FBaseGraphTask

Base class for all tasks.

Windows
MacOS
Linux

Inheritance Hierarchy

FBaseGraphTask

TGraphTask

References

Module

Core

Header

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

Include

#include "Async/TaskGraphInterfaces.h"

Syntax

class FBaseGraphTask

Remarks

Base class for all tasks. Tasks go through a very specific life stage progression, and this is verified.

Constructors

Name Description

Protected function

FBaseGraphTask

(
    int32 InNumberOfPrerequistitesOutst...
)

Constructor

Destructors

Name Description

Protected function Virtual

~FBaseGraphTask()

Destructor, just checks the life stage

Functions

Name Description

Protected function

void

 

ConditionalQueueTask

(
    ENamedThreads::Type CurrentThread
)

An indication that a prerequisite has been completed.

Protected function Static

TSmallTaskAl...

 

GetSmallTaskAllocator()

Singleton to retrieve the small task allocator

Protected function Static

void

 

LogPossiblyInvalidSubsequentsTask

(
    const TCHAR* TaskName
)

Logs a task name that may contain invalid subsequents. Debug only.

Protected function

void

 

PrerequisitesComplete

(
    ENamedThreads::Type CurrentThread,
    int32 NumAlreadyFinishedPrequistes,
    bool bUnlock
)

Indicates that the prerequisites are set up and that the task can be executed as soon as the prerequisites are finished.

Protected function

void

 

SetThreadToExecuteOn

(
    ENamedThreads::Type InThreadToExecu...
)

Sets the desired execution thread.

Enums

Name

Description

Private enum

ELifeStage

Life stage verification Tasks go through 8 steps, in order.

Typedefs

Name

Description

TSmallTaskAllocator

Constants

Name

Description

SMALL_TASK_SIZE

Allocator for small tasks.

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