Task class for more full featured delegate based tasks. 更多...
#include <TaskGraphInterfaces.h>
类 FDelegateGraphTask 继承关系图:Public 成员函数 | |
| FDelegateGraphTask (const FDelegate &InTaskDeletegate, const TStatId InStatId, 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 FGraphEventArray *InPrerequisites=NULL, ENamedThreads::Type InCurrentThreadIfKnown=ENamedThreads::AnyThread, 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 FGraphEventRef &InPrerequisite, ENamedThreads::Type InCurrentThreadIfKnown=ENamedThreads::AnyThread, 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 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 |