Status ObjectsΒΆ

The core API of the status objects is a property and a private method:

StatusBase This is a base class that provides a single-slot callback for when the specific operation has finished.
StatusBase.finished_cb
StatusBase._finished Inform the status object that it is done and if it succeeded

In addition we provide two specialized sub-classes that know more about the object they are tied to.

DeviceStatus Device status
MoveStatus Asynchronous movement status
Status A basic status object

The status objects also handle timeouts (if an action take too long) and a settle time (to wait after the action has completed, but before triggering the callback registered onto finished_cb.

Inheritance diagram of ophyd.status.StatusBase, ophyd.status.MoveStatus, ophyd.status.DeviceStatus, ophyd.status.Status