Skip to content

Export All Worker Adapter

app.infrastructure.adapters.export_all_worker_adapter

View source code

Explicit adapter wrapping ExportAllWorker to ExportAllWorkerInterface.

See Also

Layer: Infrastructure. Context: Implements concrete processing and I/O behind application-facing contracts.

ExportAllWorkerAdapter

Bases: ExportAllWorkerInterface

Delegate ExportAllWorker thread control and signals through the interface seam.

PARAMETER DESCRIPTION
worker

Concrete batch-export worker wrapped by this adapter.

TYPE: ExportAllWorker

cancelled property

Forward the worker cancellation signal.

finished property

Forward native thread completion, safe for worker disposal.

finished_processing property

Forward the worker completion signal.

progress_updated property

Forward the worker progress signal.

session_export_progress_updated property

Forward per-session export progress.

session_failed property

Forward the batch worker session-failed signal.

session_finished property

Forward the batch worker session-finished signal.

session_started property

Forward the batch worker session-started signal.

__init__(worker: ExportAllWorker) -> None

deleteLater() -> None

Schedule this Qt object for deletion.

isRunning() -> bool

Return whether the worker thread is running.

RETURNS DESCRIPTION
bool

True while the wrapped batch-export worker is running.

start() -> None

Start the wrapped batch-export worker.

stop() -> None

Request the wrapped batch-export worker to stop.

wait() -> None

Wait until the wrapped batch-export thread has fully exited.