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

FReturnGraphTask is a task used to return flow control from a named thread back to the original caller of ProcessThreadUntilRequestReturn 更多...

#include <TaskGraphInterfaces.h>

Public 成员函数

void DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent)
 Actually execute the task. 更多...
 
 FReturnGraphTask (ENamedThreads::Type InThreadToReturnFrom)
 Constructor 更多...
 
ENamedThreads::Type GetDesiredThread ()
 Retrieve the thread that this task wants to run on. 更多...
 

详细描述

FReturnGraphTask is a task used to return flow control from a named thread back to the original caller of ProcessThreadUntilRequestReturn

构造及析构函数说明

◆ FReturnGraphTask()

FReturnGraphTask::FReturnGraphTask ( ENamedThreads::Type  InThreadToReturnFrom)
inline

Constructor

参数
InThreadToReturnFrom;named thread to cause to return

成员函数说明

◆ DoTask()

void FReturnGraphTask::DoTask ( ENamedThreads::Type  CurrentThread,
const FGraphEventRef &  MyCompletionGraphEvent 
)
inline

Actually execute the task.

参数
CurrentThread;the thread we are running on
MyCompletionGraphEvent;my completion event. Not always useful since at the end of DoWork, you can assume you are done and hence further tasks do not need you as a prerequisite. However, MyCompletionGraphEvent can be useful for passing to other routines or when it is handy to set up subsequents before you actually do work.

◆ GetDesiredThread()

ENamedThreads::Type FReturnGraphTask::GetDesiredThread ( )
inline

Retrieve the thread that this task wants to run on.

返回
the thread that this task should run on.

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