Navigation
API > API/Plugins > API/Plugins/InterchangeDispatcher
Handle a list of tasks, and a set of external workers to consume them.
| Name | FInterchangeDispatcher |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Dispatcher/Public/InterchangeDispatcher.h |
| Include Path | #include "InterchangeDispatcher.h" |
Syntax
class FInterchangeDispatcher
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInterchangeDispatcher
(
const FString& InResultFolder |
InterchangeDispatcher.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FInterchangeDispatcher() |
InterchangeDispatcher.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompletedTaskCount | int32 | InterchangeDispatcher.h | ||
| InterchangeWorkerFatalError | FString | InterchangeDispatcher.h | ||
| NextTaskIndex | int32 | InterchangeDispatcher.h | ||
| ResultFolder | FString | Path where the result files are dump | InterchangeDispatcher.h | |
| TaskPool | TArray< FTask > | InterchangeDispatcher.h | ||
| TaskPoolCriticalSection | FCriticalSection | Tasks. | InterchangeDispatcher.h | |
| WorkerHandler | TUniquePtr< FInterchangeWorkerHandler > | Workers. | InterchangeDispatcher.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddTask
(
const FString& JsonDescription, |
InterchangeDispatcher.h | ||
int32 AddTask
(
const FString& JsonDescription |
InterchangeDispatcher.h | ||
FString GetInterchangeWorkerFatalError() |
InterchangeDispatcher.h | ||
| InterchangeDispatcher.h | |||
void GetTaskState
(
int32 TaskIndex, |
InterchangeDispatcher.h | ||
void GetTaskState
(
int32 TaskIndex, |
InterchangeDispatcher.h | ||
bool IsInterchangeWorkerRunning() |
InterchangeDispatcher.h | ||
bool IsOver() |
InterchangeDispatcher.h | ||
void SetInterchangeWorkerFatalError
(
FString& ErrorMessage |
InterchangeDispatcher.h | ||
void SetTaskState
(
int32 TaskIndex, |
InterchangeDispatcher.h | ||
void StartProcess() |
InterchangeDispatcher.h | ||
void StopProcess
(
bool bBlockUntilTerminated |
InterchangeDispatcher.h | ||
void TerminateProcess() |
InterchangeDispatcher.h | ||
void WaitAllTaskToCompleteExecution() |
InterchangeDispatcher.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsInterchangeWorkerAvailable() |
InterchangeDispatcher.h |