![]() |
XII Release 0.1.0
|
#include <AssetProcessor.h>
Public Types | |
| enum class | ProcessTaskState : xiiUInt8 { Stopped , Running , Stopping } |
Public Member Functions | |
| void | StartProcessTask () |
| void | StopProcessTask (bool bForce, bool bWait=false) |
| ProcessTaskState | GetProcessTaskState () const |
| void | AddLogWriter (xiiLoggingEvent::Handler handler) |
| void | RemoveLogWriter (xiiLoggingEvent::Handler handler) |
Static Public Member Functions | |
| static xiiResult | PrepareAssetRequest (xiiUuid assetGuid, xiiProcessAssetMsg &out_request) |
| Copyright (c) Theophilus Eriata. All Rights Reserved. | |
Public Attributes | |
| xiiEvent< const xiiAssetProcessorEvent & > | m_Events |
Friends | |
| class | xiiProcessTask |
| class | xiiProcessThread |
| class | xiiAssetCurator |
Background asset processing is handled by this class. Creates EditorProcessor processes.
|
strong |
|
static |
Copyright (c) Theophilus Eriata. All Rights Reserved.
Captures a known asset's owner, hashes, active profile and all dependency categories for IPC. The output is unchanged on failure. The processor independently validates the transform state. The captured profile remains associated with the request if the editor later changes profiles.
| void xiiAssetProcessor::StopProcessTask | ( | bool | bForce, |
| bool | bWait = false ) |
Stops dispatching jobs. Force cancels running processes; wait joins the processor thread after outstanding jobs finish. Waiting must not hold the asset-curator mutex.