Worker_jobs¶
-
class
dvg_qdeviceio.Worker_jobs(qdev: QDeviceIO, jobs_function: Optional[Callable] = None, debug: bool = False, **kwargs)[source]¶ Bases:
QObjectAn instance of this worker will be created and placed inside a new thread when
QDeviceIO.create_worker_jobs()gets called. See there for extended information.Parameters: - qdev (
QDeviceIO) – Reference to the parentQDeviceIOclass instance, automatically set when being initialized byQDeviceIO.create_worker_jobs(). - jobs_function (
Callable|None, optional) – Default:None. - debug (
bool, optional) – Default:False. - **kwargs – All remaining keyword arguments will be passed onto inherited class
PySide6.QtCore.QObject.
Attributes:
-
dev¶ Reference to the user-supplied device class instance containing I/O methods, automatically set when calling
QDeviceIO.create_worker_jobs(). It is a shorthand forself.qdev.dev.Type: object|None
-
jobs_function¶ See
QDeviceIO.create_worker_jobs().Type: Callable|None
- qdev (