|
mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
|
Immutable engine configuration that creates backend sessions. More...
#include <transcriptionengine.h>
Public Member Functions | |
| TranscriptionEngine (const TranscriptionEngine &)=delete | |
| TranscriptionEngine & | operator= (const TranscriptionEngine &)=delete |
| TranscriptionEngine (TranscriptionEngine &&)=delete | |
| TranscriptionEngine & | operator= (TranscriptionEngine &&)=delete |
| virtual BackendCapabilities | capabilities () const =0 |
| Returns the runtime capabilities for sessions created by this engine. | |
| virtual RuntimeDiagnostics | diagnostics () const =0 |
| Returns runtime inspection data for this engine instance. | |
| virtual std::shared_ptr< const TranscriptionModelHandle > | loadModel (RuntimeError *error=nullptr) const =0 |
| Loads an immutable validated model handle for this engine. | |
| virtual std::unique_ptr< TranscriptionSession > | createSession (std::shared_ptr< const TranscriptionModelHandle > model) const =0 |
| Creates a new isolated transcription session from a loaded model. | |
Immutable engine configuration that creates backend sessions.
The engine boundary keeps future backend selection and model-loading policy out of the app/service orchestration layers.
Definition at line 111 of file transcriptionengine.h.
|
pure virtual |
Returns the runtime capabilities for sessions created by this engine.
|
pure virtual |
Creates a new isolated transcription session from a loaded model.
| model | Shared immutable model handle created by this engine. |
|
pure virtual |
Returns runtime inspection data for this engine instance.
|
pure virtual |
Loads an immutable validated model handle for this engine.
| error | Optional destination for a structured failure reason. |