tomwer.synctools.bliss_sync.datalistener.DataListenerQThread#

class tomwer.synctools.bliss_sync.datalistener.DataListenerQThread(host, port, acquisitions)#

Implementation of the _BaseDataListenerThread with a QThread.

As jsonrpc is using gevent we want to limit the ‘crossover’ of gevent and qt. So the server is launch in another process and bot processes are sharing list of acquisitions (added, ended…).

run(self)#
scan_added(acquisition, scan_number)#
Return type:

None

sequence_ended(acquisition)#

callback when a sequence end (with success)

Return type:

None

sequence_failed(acquisition)#

callback when a sequence fails (probably canceled)

sequence_started(acquisition)#
Return type:

None

start(self, priority: QThread.Priority = QThread.InheritPriority)#
stop()#