seq
4.0.0-pre3
|
Public Member Functions | |
def | __init__ (self, channel_id, parent) |
def | run (self) |
def | finish (self) |
def | new_state_event_function (self, subscription, dataEvent) |
New state event callback. More... | |
Public Attributes | |
signals | |
parent | |
exit_cond | |
control_flag | |
channel_id | |
Worker thread.
Inherits from QRunnable to handler worker thread setup, signals and wrap-up.
callback | The function callback to run on this worker thread. Supplied args and kwargs will be passed through to the runner. type of callback: function |
args | Arguments to pass to the callback function |
kwargs | Keywords to pass to the callback function |
def redthread.Worker.__init__ | ( | self, | |
channel_id, | |||
parent | |||
) |
def redthread.Worker.finish | ( | self | ) |
def redthread.Worker.new_state_event_function | ( | self, | |
subscription, | |||
dataEvent | |||
) |
New state event callback.
This method is called each time new state data has been published. It will emit the progress signal with the content of the new state event.
def redthread.Worker.run | ( | self | ) |
redthread.Worker.channel_id |
redthread.Worker.control_flag |
redthread.Worker.exit_cond |
redthread.Worker.parent |
redthread.Worker.signals |