mxcubecore.HardwareObjects.abstract.AbstractShutter#
AbstractShutter class - interface for shutter type devices. Define open/close methods and is_open property. Overload BaseValueEnum
Classes
|
Abstract base class for shutter type objects. |
|
Defines only the compulsory values. |
- class mxcubecore.HardwareObjects.abstract.AbstractShutter.AbstractShutter(name)[source]#
Bases:
AbstractNState
Abstract base class for shutter type objects.
- VALUES#
alias of
BaseValueEnum
- close(timeout=None)[source]#
Close the shutter. :param timeout: optional - timeout [s],
If timeout == 0: return at once and do not wait if timeout is None: wait forever.
- property is_open#
Check if the shutter is open. :returns: True if open, False otherwise. :rtype: (bool)