![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TaskGraphInterfaces.h>
Inheritance diagram for FDelegateGraphTask:Public Member Functions | |
| DECLARE_DELEGATE_TwoParams (FDelegate, ENamedThreads::Type, const FGraphEventRef &) | |
| ENamedThreads::Type | GetDesiredThread () |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| FDelegateGraphTask (const FDelegate &InTaskDeletegate, const TStatId InStatId, ENamedThreads::Type InDesiredThread) | |
Public Member Functions inherited from FCustomStatIDGraphTaskBase | |
| FCustomStatIDGraphTaskBase (const TStatId &StatId) | |
| TStatId | GetStatId () const |
Static Public Member Functions | |
| static ESubsequentsMode::Type | GetSubsequentsMode () |
| static FGraphEventRef | CreateAndDispatchWhenReady (const FDelegate &InTaskDeletegate, const TStatId InStatId, const FGraphEventArray *InPrerequisites=NULL, ENamedThreads::Type InCurrentThreadIfKnown=ENamedThreads::AnyThread, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| static FGraphEventRef | CreateAndDispatchWhenReady (const FDelegate &InTaskDeletegate, const TStatId InStatId, const FGraphEventRef &InPrerequisite, ENamedThreads::Type InCurrentThreadIfKnown=ENamedThreads::AnyThread, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
Public Attributes | |
| FDelegate | TaskDelegate |
| const ENamedThreads::Type | DesiredThread |
Task class for more full featured delegate based tasks. Still less efficient than a custom task, but provides all of the args
|
inline |
Task constructor
| InTaskDelegate | - delegate to execute when the prerequisites are complete |
| InStatId | - The stat id for this task. |
| InDesiredThread | - Thread to run on |
|
inlinestatic |
Create a task and dispatch it when the prerequisites are complete
| InTaskDelegate | - delegate to execute when the prerequisites are complete |
| InStatId | - The stat id for this task. |
| InPrerequisites | - Handles for prerequisites for this task, can be NULL if there are no prerequisites |
| InCurrentThreadIfKnown | - This thread, if known |
| InDesiredThread | - Thread to run on |
|
inlinestatic |
Create a task and dispatch it when the prerequisites are complete
| InTaskDelegate | - delegate to execute when the prerequisites are complete |
| InStatId | - The stat id for this task. |
| InPrerequisite | - Handle for a single prerequisite for this task |
| InCurrentThreadIfKnown | - This thread, if known |
| InDesiredThread | - Thread to run on |
| FDelegateGraphTask::DECLARE_DELEGATE_TwoParams | ( | FDelegate | , |
| ENamedThreads::Type | , | ||
| const FGraphEventRef & | |||
| ) |
|
inline |
|
inline |
|
inlinestatic |
| const ENamedThreads::Type FDelegateGraphTask::DesiredThread |
Thread to run delegate on
| FDelegate FDelegateGraphTask::TaskDelegate |
Delegate to fire when task runs