FInterchangeDispatcher

Handle a list of tasks, and a set of external workers to consume them.

Choose your operating system:

Windows

macOS

Linux

References

Module

InterchangeDispatcher

Header

/Engine/Plugins/Experimental/Interchange/Runtime/Source/Dispatcher/Public/InterchangeDispatcher.h

Include

#include "InterchangeDispatcher.h"

Syntax

class FInterchangeDispatcher

Remarks

Handle a list of tasks, and a set of external workers to consume them.

Constructors

Name Description

Public function

FInterchangeDispatcher

(
    const FString& InResultFolder
)

Destructors

Name Description

Public function

~FInterchangeDispatcher()

Functions

Name Description

Public function

int32

 

AddTask

(
    const FString& JsonDescription
)

Public function

int32

 

AddTask

(
    const FString& JsonDescription,
    FInterchangeDispatcherTaskCompleted...
)

Public function

FString

 

GetInterchangeWorkerFatalError()

Public function

TOptional< F...

 

GetNextTask()

Public function

void

 

GetTaskState

(
    int32 TaskIndex,
    ETaskState& TaskState,
    double& TaskRunningStateStartTime
)

Public function

void

 

GetTaskState

(
    int32 TaskIndex,
    ETaskState& TaskState,
    FString& JsonResult,
    TArray< FString >& JSonMessages
)

Public function

bool

 

IsOver()

Public function

void

 

SetInterchangeWorkerFatalError

(
    FString& ErrorMessage
)

Public function

void

 

SetTaskState

(
    int32 TaskIndex,
    ETaskState TaskState,
    const FString& JsonResult,
    const TArray< FString >& JSonMessa...
)

Public function

void

 

StartProcess()

Public function

void

 

StopProcess

(
    bool bBlockUntilTerminated
)

Public function

void

 

TerminateProcess()

Public function

void

 

WaitAllTaskToCompleteExecution()