Class DummyHardwareTriggeredDetector

All Implemented Interfaces:
Detector, HardwareTriggeredDetector, Device, Scannable, Configurable, Findable, gda.observable.IObservable, Serializable

public class DummyHardwareTriggeredDetector extends DummyDetector implements HardwareTriggeredDetector
See Also:
  • Constructor Details

    • DummyHardwareTriggeredDetector

      public DummyHardwareTriggeredDetector()
  • Method Details

    • setHardwareTriggerProvider

      public void setHardwareTriggerProvider(HardwareTriggerProvider hardwareTriggerProvider)
    • getHardwareTriggerProvider

      public HardwareTriggerProvider getHardwareTriggerProvider()
      Description copied from interface: HardwareTriggeredDetector
      Get the HardwareTriggerProvider that represents the controller this Detector is wired to.
      Specified by:
      getHardwareTriggerProvider in interface HardwareTriggeredDetector
      Returns:
      the trigger provider
    • setNumberImagesToCollect

      public void setNumberImagesToCollect(int numberImagesToCollect)
      Description copied from interface: HardwareTriggeredDetector
      Tell the detector how many scan points to collect. (Unfortunately named images).
      Specified by:
      setNumberImagesToCollect in interface HardwareTriggeredDetector
      Parameters:
      numberImagesToCollect -
    • setIntegratesBetweenPoints

      public void setIntegratesBetweenPoints(boolean integratesBetweenPoints)
    • integratesBetweenPoints

      public boolean integratesBetweenPoints()
      Description copied from interface: HardwareTriggeredDetector
      Detectors that sample some value at the time of a trigger should return False. Detectors such as counter timers should return True. If true ,TrajectoryScanLine will generate a trigger half a point before the motor reaches a demanded point such that the resulting bin of data is centred on the demand position. Area detectors that will be triggered by the first pulse should also return true.
      Specified by:
      integratesBetweenPoints in interface HardwareTriggeredDetector
      Returns:
      true for detectors that integrates b