engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FDelegateGraphTask类 参考

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

构造及析构函数说明

◆ FDelegateGraphTask()

FDelegateGraphTask::FDelegateGraphTask ( const FDelegate &  InTaskDeletegate,
const TStatId  InStatId,
ENamedThreads::Type  InDesiredThread 
)
inline

Task constructor

参数
InTaskDelegate- delegate to execute when the prerequisites are complete
InStatId- The stat id for this task.
InDesiredThread- Thread to run on

成员函数说明

◆ CreateAndDispatchWhenReady() [1/2]

static FGraphEventRef FDelegateGraphTask::CreateAndDispatchWhenReady ( const FDelegate &  InTaskDeletegate,
const TStatId  InStatId,
const FGraphEventArray *  InPrerequisites = NULL,
ENamedThreads::Type  InCurrentThreadIfKnown = ENamedThreads::AnyThread,
ENamedThreads::Type  InDesiredThread = ENamedThreads::AnyThread 
)
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
返回
completion handle for the new task

◆ CreateAndDispatchWhenReady() [2/2]

static FGraphEventRef FDelegateGraphTask::CreateAndDispatchWhenReady ( const FDelegate &  InTaskDeletegate,
const TStatId  InStatId,
const FGraphEventRef &  InPrerequisite,
ENamedThreads::Type  InCurrentThreadIfKnown = ENamedThreads::AnyThread,
ENamedThreads::Type  InDesiredThread = ENamedThreads::AnyThread 
)
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
返回
completion handle for the new task

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