engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FCompletionList类 参考

List of tasks that can be "joined" into one task which can be waited on or used as a prerequisite. 更多...

#include <TaskGraphInterfaces.h>

Public 成员函数

void Add (const FGraphEventRef &TaskToAdd)
 Adds a task to the completion list, can be called from any thread 更多...
 
void ChainWaitForPrerequisites (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent)
 Task function that waits until any newly added pending commands complete before it completes, forming a chain
 
FGraphEventRef CreatePrerequisiteCompletionHandle (ENamedThreads::Type CurrentThread)
 Create a completion handle that represents the completion of all pending tasks This is complicated by the fact that some of the tasks we are waiting for might also add tasks So it is recursive and the task we call here uses DontCompleteUntil to build the chain this should always be called from the same thread. 更多...
 

详细描述

List of tasks that can be "joined" into one task which can be waited on or used as a prerequisite.

Note, these are FGraphEventRef's, but we manually manage the reference count instead of using a smart pointer

成员函数说明

◆ Add()

void FCompletionList::Add ( const FGraphEventRef &  TaskToAdd)
inline

Adds a task to the completion list, can be called from any thread

参数
TaskToAdd,taskto add

◆ CreatePrerequisiteCompletionHandle()

FGraphEventRef FCompletionList::CreatePrerequisiteCompletionHandle ( ENamedThreads::Type  CurrentThread)
inline

Create a completion handle that represents the completion of all pending tasks This is complicated by the fact that some of the tasks we are waiting for might also add tasks So it is recursive and the task we call here uses DontCompleteUntil to build the chain this should always be called from the same thread.

返回
The task that when completed, indicates all tasks in the list are completed, including any tasks they added recursively. Will be a NULL reference if there are no tasks

该类的文档由以下文件生成: