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

Task class for simple delegate based tasks. 更多...

#include <TaskGraphInterfaces.h>

+ 类 FSimpleDelegateGraphTask 继承关系图:

Public 成员函数

 FSimpleDelegateGraphTask (const FDelegate &InTaskDeletegate, const TStatId StatId, 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 FGraphEventRef &InPrerequisite, 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 FGraphEventArray *InPrerequisites=NULL, 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 simple delegate based tasks.

This is less efficient than a custom task, doesn't provide the task arguments, doesn't allow specification of the current thread, etc.

构造及析构函数说明

◆ FSimpleDelegateGraphTask()

FSimpleDelegateGraphTask::FSimpleDelegateGraphTask ( const FDelegate &  InTaskDeletegate,
const TStatId  StatId,
ENamedThreads::Type  InDesiredThread 
)
inline

Task constructor

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

成员函数说明

◆ CreateAndDispatchWhenReady() [1/2]

static FGraphEventRef FSimpleDelegateGraphTask::CreateAndDispatchWhenReady ( const FDelegate &  InTaskDeletegate,
const TStatId &&  InStatId,
const FGraphEventRef &  InPrerequisite,
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- StatId of task for debugging or analysis tools
InPrerequisite- Handle for a single prerequisite for this task
InDesiredThread- Thread to run on
返回
completion handle for the new task

◆ CreateAndDispatchWhenReady() [2/2]

static FGraphEventRef FSimpleDelegateGraphTask::CreateAndDispatchWhenReady ( const FDelegate &  InTaskDeletegate,
const TStatId  InStatId,
const FGraphEventArray *  InPrerequisites = NULL,
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- StatId of task for debugging or analysis tools
InPrerequisites- Handles for prerequisites for this task, can be NULL if there are no prerequisites
InDesiredThread- Thread to run on
返回
completion handle for the new task

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