Task class for simple delegate based tasks. 更多...
#include <TaskGraphInterfaces.h>
类 FSimpleDelegateGraphTask 继承关系图:Public 成员函数 | |
| FSimpleDelegateGraphTask (const FDelegate &InTaskDeletegate, const TStatId StatId, ENamedThreads::Type InDesiredThread) | |
| Task constructor 更多... | |
Public 成员函数 继承自 FCustomStatIDGraphTaskBase | |
| FCustomStatIDGraphTaskBase (const TStatId &StatId) | |
| Constructor. 更多... | |
| FORCEINLINE TStatId | GetStatId () const |
| Gets stat id for this task. 更多... | |
静态 Public 成员函数 | |
| static FGraphEventRef | CreateAndDispatchWhenReady (const FDelegate &InTaskDeletegate, const TStatId &&InStatId, const FGraphEventRef &InPrerequisite, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| Create a task and dispatch it when the prerequisites are complete 更多... | |
| static FGraphEventRef | CreateAndDispatchWhenReady (const FDelegate &InTaskDeletegate, const TStatId InStatId, const FGraphEventArray *InPrerequisites=NULL, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| Create a task and dispatch it when the prerequisites are complete 更多... | |
Public 属性 | |
| const ENamedThreads::Type | DesiredThread |
| Thread to run delegate on | |
| FDelegate | TaskDelegate |
| Delegate to fire when task runs | |
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 |