Navigation
API > API/Plugins > API/Plugins/InterchangeDispatcher
Handle a Worker by socket communication.
| Name | FInterchangeWorkerHandler |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Dispatcher/Public/InterchangeWorkerHandler.h |
| Include Path | #include "InterchangeWorkerHandler.h" |
Syntax
class FInterchangeWorkerHandler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInterchangeWorkerHandler
(
FInterchangeDispatcher& InDispatcher, |
InterchangeWorkerHandler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FInterchangeWorkerHandler() |
InterchangeWorkerHandler.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnWorkerHandlerExitLoop | FSimpleMulticastDelegate | InterchangeWorkerHandler.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPingCommandReceived | bool | When the worker start, it send a ping command. This flag is turn on when we receive the ping command. | InterchangeWorkerHandler.h | |
| bShouldTerminate | bool | InterchangeWorkerHandler.h | ||
| CommandIO | FCommandQueue | InterchangeWorkerHandler.h | ||
| CurrentTasks | TArray< int32 > | InterchangeWorkerHandler.h | ||
| CurrentTasksLock | FCriticalSection | InterchangeWorkerHandler.h | ||
| Dispatcher | FInterchangeDispatcher & | InterchangeWorkerHandler.h | ||
| ErrorState | EWorkerErrorState | InterchangeWorkerHandler.h | ||
| IOThread | FThread | InterchangeWorkerHandler.h | ||
| LastProgressMessageTime | double | InterchangeWorkerHandler.h | ||
| NetworkInterface | FNetworkServerNode | Send and receive commands. | InterchangeWorkerHandler.h | |
| ResultFolder | FString | Self | InterchangeWorkerHandler.h | |
| ThreadName | FString | InterchangeWorkerHandler.h | ||
| WorkerHandle | FProcHandle | External process. | InterchangeWorkerHandler.h | |
| WorkerState | TAtomic< EWorkerState > | InterchangeWorkerHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsAlive() |
InterchangeWorkerHandler.h | ||
bool IsPingCommandReceived() |
InterchangeWorkerHandler.h | ||
void Run() |
InterchangeWorkerHandler.h | ||
void Stop() |
InterchangeWorkerHandler.h | ||
void StopBlocking() |
InterchangeWorkerHandler.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ProcessCommand
(
ICommand& Command |
InterchangeWorkerHandler.h |