Utility classes and functions#
Msg#
Namedtuple sub-class to encapsulate a message from the plan to the RE. |
Persistent metadata#
To maintain a peristent set of meta-data between Python sessions we include a dictionary duck-type based on zict.Func.
A MutableMapping which syncs it contents to disk. |
|
Internal exceptions#
We define a number of Exception sub-classes for internal signaling.
Exception for signaling within the RunEngine. |
|
Request that the current run be aborted. |
|
Request that the current run be stopped and marked successful. |
|
Exception to be raised if a SatusBase object reports done but failed |
|
Progress bars#
These are used by the RunEngine to display progress bars and
are the clients of the watch
API
This method is registered with Status.watch() to receive updates. |
|
Clear the display |
|
During tasks#
These objects encapsulate what the RunEngine should do on its thread while waiting for the plan to complete in the background thread
This class waits on the event (which fully blocks the thread). |
|
Wait plan to finish. |
|
This class run the Qt main loop while waiting for the plan to finish. |