sknrf.model.runtime module

class sknrf.model.runtime.RuntimeThread

Bases: QThread

error
started_
connect_signals(model, view)
disconnect_signals(model, view)
start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None
set_args(*args)
resume()
deleteLater(self) None
unhandled_exception(*exc_info)
staticMetaObject = PySide6.QtCore.QMetaObject("RuntimeThread" inherits "QThread": Methods:   #13 type=Signal, signature=error(PyObject,PyObject,PyObject), parameters=PyObject, PyObject, PyObject   #14 type=Signal, signature=started_(PyObject), parameters=PyObject )
class sknrf.model.runtime.RuntimeModel(*args, **kwargs)

Bases: AbstractModel

init_request
update_request
close_request
finished
error
measure()
check_state()
start()
update(batch_index=-1)
moveToThread(thread)

Changes the thread affinity (lifetime) for self and its children.

When thread is deleted, self is deleted. Marshals an interface pointer from one thread to another thread in the same process.

runInThread(thread)

Changes the thread that is run for self and its children.

When a method of self is executed, this thread becomes active(blocking). Each method should call self.exec_() when it is finished so that the thread can return to its event loop. Unmarshals a buffer containing an interface pointer and releases the stream when an interface pointer has been marshaled from another thread to the calling thread.

staticMetaObject = PySide6.QtCore.QMetaObject("RuntimeModel" inherits "AbstractModel": Methods:   #5 type=Signal, signature=init_request(PyObject), parameters=PyObject   #6 type=Signal, signature=update_request(PyObject,int), parameters=PyObject, int   #7 type=Signal, signature=close_request(PyObject), parameters=PyObject   #8 type=Signal, signature=finished()   #9 type=Signal, signature=error(QString), parameters=QString )