ezEngine Release 26.9
Loading...
Searching...
No Matches
ezEditorProcessorProcess Class Reference

Encapsulates one ezEditorProcessor process managed by ezAssetProcessor. More...

#include <AssetProcessor.h>

Public Types

enum class  State {
  StartClient , WaitingForConnection , LookingForWork , ReadyForProcessing ,
  Processing , ReportResult , Crashed
}
 

Public Member Functions

bool Tick (bool bStartNewWork)
 
void RequestRestart ()
 Called by the worker thread to restart a crashed process.
 
bool IsConnected () const
 
bool IsRunning () const
 
bool IsCrashed () const
 
ezOsProcessID GetProcessId () const
 
bool HasProcessCrashed ()
 
void HandleHashMissmatch ()
 
ezResult StartProcess ()
 
void ShutdownProcess ()
 

Public Attributes

ezUInt32 m_uiProcessorID
 
ezTime m_ProcessingStartTime
 
ezThreadSignalm_pNewWorkSignal = nullptr
 

Detailed Description

Encapsulates one ezEditorProcessor process managed by ezAssetProcessor.

Member Enumeration Documentation

◆ State

Enumerator
StartClient 

Starting client process.

LookingForWork 

< Waiting for IPC connection to client process.

Connected. Waiting for work to become available.

ReadyForProcessing 

A work item has been found. Ready to start processing.

Processing 

A work item is being processed.

ReportResult 

Report result of the precessing phase.

Crashed 

Process has crashed. Dead end until RequestRestart is called.


The documentation for this class was generated from the following files: