Package org.eclipse.scanning.api.device
Interface IPausableDevice<T>
- All Superinterfaces:
IConfigurable<T>,IDeviceRoleActor,ILevel,IModelProvider<T>,INameable,IResettableDevice,IRunnableDevice<T>,IValidator<T>
- All Known Subinterfaces:
IMalcolmDevice,IRunnableEventDevice<T>,IScanDevice,IWritableDetector<T>
- All Known Implementing Classes:
AbstractAreaDetectorRunnableDevice,AbstractMalcolmDevice,AbstractRunnableDevice,AreaDetectorRunnableDevice,AreaDetectorRunnableDeviceProxy,AreaDetectorRunnableDeviceWaitForArray,AreaDetectorWritingFilesRunnableDevice,ConstantVelocityDevice,DarkImageDetector,DummyMalcolmDevice,DummyMalcolmTriggeredDetector,ElectronAnalyserRunnableDevice,MalcolmDevice,MalcolmDeviceProxy,MandelbrotDetector,PosDetector,ProcessingMalcolmDevice,RandomIntDetector,RandomLineDevice,RunnableDeviceProxy,XmapRunnableDevice,XmapRunnableDeviceBase,XmapWritingFilesRunnableDevice,ZebraRunnableDevice
-
Field Summary
-
Method Summary
Methods inherited from interface org.eclipse.scanning.api.IConfigurable
configureMethods inherited from interface org.eclipse.scanning.api.device.models.IDeviceRoleActor
getRole, getSupportedScanModes, setRoleMethods inherited from interface org.eclipse.scanning.api.IModelProvider
setModel, updateModelMethods inherited from interface org.eclipse.scanning.api.device.IResettableDevice
resetMethods inherited from interface org.eclipse.scanning.api.device.IRunnableDevice
abort, disable, getDeviceHealth, getDeviceState, getModel, isAlive, isDeviceBusy, latch, latch, run, run, setAlive, start, throwFirstRunExceptionMethods inherited from interface org.eclipse.scanning.api.IValidator
setService, validate
-
Method Details
-
pause
Allowed when the device is in Running state. Will block until the device is in a rest state. When paused the same thread must call resume() or abort() which has paused or an IllegalMonitorState Exception will be thrown. -
seek
Seek to/from a point number (absolute) in the scan.- Parameters:
amount-- Throws:
ScanningExceptionInterruptedException
-
resume
Allowed when the device is in Paused state. Will block until the device is unpaused. When paused the same thread must call resume() or abort() which has paused or an IllegalMonitorState Exception will be thrown.
-