Interface IDeviceRoleActor
- All Known Subinterfaces:
IMalcolmDevice,IPausableDevice<T>,IRunnableDevice<T>,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
public interface IDeviceRoleActor
A device which has a clear role in the system.
DeviceRole-
Method Summary
Modifier and TypeMethodDescriptiongetRole()The role of the device.Returns a set of the scan modes that this device can participate in.voidsetRole(DeviceRole role) The role of the device.
-
Method Details
-
getRole
DeviceRole getRole()The role of the device.- Returns:
- role of the device
-
setRole
The role of the device.- Parameters:
role- role of the device
-
getSupportedScanModes
Returns a set of the scan modes that this device can participate in.- Returns:
- possible roles of the device
-