Thread-safe handle for non-main-thread code (OPAL tasks, background workers) to request camera state changes on the UI's live CameraController. More...
| Header: | #include <CameraBridge> |
| Since: | 1.0 |
| Inherits: | QObject |
OPAL tasks run on a worker thread inside the task runtime. They must not touch QRhi / QWidget state directly. CameraBridge sits between them and ConstructShell:
Q_INVOKABLE entry points (or QMetaObject::invokeMethod with Qt::QueuedConnection).*Requested signal is emitted.ConstructShell connects the signals to its own methods on the main thread (default Qt::AutoConnection becomes QueuedConnection when sender and receiver live on different threads).The bridge is owned by ConstructShell and registered with ConstructServiceLocator so tasks can find it without depending on the UI layer.