![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TaskGraphInterfaces.h>
Inheritance diagram for FSimpleDelegateGraphTask:Public Member Functions | |
| DECLARE_DELEGATE (FDelegate) | |
| ENamedThreads::Type | GetDesiredThread () |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| FSimpleDelegateGraphTask (const FDelegate &InTaskDeletegate, const TStatId StatId, 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 InDesiredThread=ENamedThreads::AnyThread) |
| static FGraphEventRef | CreateAndDispatchWhenReady (const FDelegate &InTaskDeletegate, const TStatId &&InStatId, const FGraphEventRef &InPrerequisite, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
Public Attributes | |
| FDelegate | TaskDelegate |
| const ENamedThreads::Type | DesiredThread |
Task class for simple delegate based tasks. This is less efficient than a custom task, doesn't provide the task arguments, doesn't allow specification of the current thread, etc.
|
inline |
Task constructor
| InTaskDelegate | - delegate to execute when the prerequisites are complete |
| StatId | 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 | - StatId of task for debugging or analysis tools |
| InPrerequisite | - Handle for a single prerequisite 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 | - StatId of task for debugging or analysis tools |
| InPrerequisites | - Handles for prerequisites for this task, can be NULL if there are no prerequisites |
| InDesiredThread | - Thread to run on |
| FSimpleDelegateGraphTask::DECLARE_DELEGATE | ( | FDelegate | ) |
|
inline |
|
inline |
|
inlinestatic |
| const ENamedThreads::Type FSimpleDelegateGraphTask::DesiredThread |
Thread to run delegate on
| FDelegate FSimpleDelegateGraphTask::TaskDelegate |
Delegate to fire when task runs