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 Details

    • getRole

      DeviceRole getRole()
      The role of the device.
      Returns:
      role of the device
    • setRole

      void setRole(DeviceRole role)
      The role of the device.
      Parameters:
      role - role of the device
    • getSupportedScanModes

      Set<ScanMode> getSupportedScanModes()
      Returns a set of the scan modes that this device can participate in.
      Returns:
      possible roles of the device