Template for asynchronous functions that are executed in the Task Graph system. 更多...
#include <Async.h>
类 TAsyncGraphTask< ResultType > 继承关系图:Public 成员函数 | |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| Performs the actual task. 更多... | |
| ENamedThreads::Type | GetDesiredThread () |
| Returns the name of the thread that this task should run on. 更多... | |
| TFuture< ResultType > | GetFuture () |
| Gets the future that will hold the asynchronous result. 更多... | |
| TAsyncGraphTask (TUniqueFunction< ResultType()> &&InFunction, TPromise< ResultType > &&InPromise, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) | |
| Creates and initializes a new instance. 更多... | |
Public 成员函数 继承自 FAsyncGraphTaskBase | |
| TStatId | GetStatId () const |
| Gets the task's stats tracking identifier. 更多... | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 FAsyncGraphTaskBase | |
| static ESubsequentsMode::Type | GetSubsequentsMode () |
| Gets the mode for tracking subsequent tasks. 更多... | |
Template for asynchronous functions that are executed in the Task Graph system.
|
inline |
Creates and initializes a new instance.
| InFunction | The function to execute asynchronously. |
| InPromise | The promise object used to return the function's result. |
|
inline |
Performs the actual task.
| CurrentThread | The thread that this task is executing on. |
| MyCompletionGraphEvent | The completion event. |
|
inline |
Returns the name of the thread that this task should run on.
|
inline |
Gets the future that will hold the asynchronous result.