UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TGraphTask< TTask >::FConstructor Class Reference

#include <TaskGraphInterfaces.h>

Public Member Functions

 UE_NONCOPYABLE (FConstructor)
 
template<typename... T>
FGraphEventRef ConstructAndDispatchWhenReady (T &&... Args)
 
template<typename... T>
TGraphTaskConstructAndHold (T &&... Args)
 
 FConstructor (const FGraphEventArray *InPrerequisites)
 

Detailed Description

template<typename TTask>
class TGraphTask< TTask >::FConstructor

This is a helper class returned from the factory. It constructs the embeded task with a set of arguments and sets the task up and makes it ready to execute. The task may complete before these routines even return.

Constructor & Destructor Documentation

◆ FConstructor()

template<typename TTask >
TGraphTask< TTask >::FConstructor::FConstructor ( const FGraphEventArray InPrerequisites)
inline

Member Function Documentation

◆ ConstructAndDispatchWhenReady()

template<typename TTask >
template<typename... T>
FGraphEventRef TGraphTask< TTask >::FConstructor::ConstructAndDispatchWhenReady ( T &&...  Args)
inline

Constructs a task and immediately dispatches the task for possible execution if prerequisites have completed. Note! Generally speaking references will not pass through; use pointers

◆ ConstructAndHold()

template<typename TTask >
template<typename... T>
TGraphTask * TGraphTask< TTask >::FConstructor::ConstructAndHold ( T &&...  Args)
inline

Constructs a task and holds it for later dispatch by calling Unlock. Note! Generally speaking references will not pass through; use pointers

◆ UE_NONCOPYABLE()

template<typename TTask >
TGraphTask< TTask >::FConstructor::UE_NONCOPYABLE ( FConstructor  )

The documentation for this class was generated from the following file: