Navigation
API > API/Editor > API/Editor/SwarmInterface
Encapsulates information about a Task specification passed into AddTask and later sent in response to a TASK_REQUEST message
| Name | FTaskSpecification |
| Type | class |
| Header File | /Engine/Source/Editor/SwarmInterface/Public/SwarmInterface.h |
| Include Path | #include "SwarmInterface.h" |
Syntax
class FTaskSpecification : public NSwarm::FTaskRequestResponse
Inheritance Hierarchy
- FMessage → FTaskRequestResponse → FTaskSpecification
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTaskSpecification
(
FGuid TaskTaskGuid, |
Constructor, initializes to default and specified values | SwarmInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Cost | uint32 | The Task's cost, relative to all other Tasks in the same Job, used for even distribution and scheduling | SwarmInterface.h | |
| Dependencies | const TCHAR ** | Any additional Task dependencies | SwarmInterface.h | |
| DependencyCount | uint32 | SwarmInterface.h | ||
| Flags | TJobTaskFlags | Flags used to control the behavior of the Task, subject to overrides from the containing Job | SwarmInterface.h | |
| Parameters | const TCHAR * | The Task's parameter string specified with AddTask | SwarmInterface.h | |
| TaskGuid | FGuid | The GUID used for identifying the Task being referred to | SwarmInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddDependencies
(
const TCHAR** NewDependencies, |
Used to add channel dependencies to a Task. | SwarmInterface.h |