Factory Interface
app.application.interfaces.export.factory_interfaceInterface contract for creating export worker instances.
See Also
ExportWorkerFactoryAdapter— creates concrete export workersExportWorker— concrete single-session export worker
Layer: Application. Context: Defines protocol boundaries consumed by application orchestration.
ExportWorkerFactoryInterface
Bases: Protocol
Create start-ready export workers behind an interface seam.
Layer: Application. Context: Coordinates use-case behavior through domain services and application contracts.
create(export_service: ExportService, s_id: SessionId, output_path: str, parent: QObject | None = None) -> ExportWorkerInterface
Create a worker that exports one session to a video file.
| PARAMETER | DESCRIPTION |
|---|---|
export_service
|
Service that renders the session's frames and annotations.
TYPE:
|
s_id
|
Identifier of the session to export.
TYPE:
|
output_path
|
Destination path for the exported video.
TYPE:
|
parent
|
Optional Qt parent that owns the worker.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ExportWorkerInterface
|
Export worker implementing the application contract. |