High-level QObject controller that owns the decoding worker thread.
More...
#include <JS8.h>
|
| | Decoder (QObject *parent=nullptr) |
| void | pendingDecode (bool pending) noexcept |
|
void | nextDecodeReady (std::chrono::steady_clock::time_point when) noexcept |
High-level QObject controller that owns the decoding worker thread.
Decoder provides a Qt-friendly wrapper around the decoding worker. It manages a worker thread and emits decodeEvent notifications using the JS8::Event::Variant payload type.
◆ Decoder()
| Decoder::Decoder |
( |
QObject * | parent = nullptr | ) |
|
Construct a decoder controller.
◆ decode
Perform a single decode cycle (queued invocation).
◆ decodeEvent
Emitted for decoder lifecycle and result events.
◆ pendingDecode()
| void Decoder::pendingDecode |
( |
bool | pending | ) |
|
|
noexcept |
Publish ready work without exposing the UI queue to the worker.
◆ quit
Request the decoder to quit.
◆ start
| void Decoder::start |
( |
QThread::Priority | priority | ) |
|
|
slot |
Start the decoder thread at the given priority.
The documentation for this class was generated from the following files: