Class DataReductionScannable

All Implemented Interfaces:
INeXusInfoWriteable, ControllerRecord, Device, Scannable, ScannableMotion, Configurable, Findable, gda.observable.IObservable, gda.observable.IObserver

@ServiceInterface(Scannable.class) public class DataReductionScannable extends DummyScannable implements gda.observable.IObserver
  • Constructor Details

    • DataReductionScannable

      public DataReductionScannable()
  • Method Details

    • configure

      public void configure() throws FactoryException
      Description copied from class: ConfigurableBase
      Default implementation for classes that do not have to do any specific configuration.
      Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.
      Specified by:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • close

      public void close() throws DeviceException
      Description copied from interface: Device
      Close and unconfigure the device.
      Specified by:
      close in interface Device
      Overrides:
      close in class DeviceBase
      Throws:
      DeviceException
    • atScanEnd

      public void atScanEnd()
      Description copied from class: ScannableBase
      Called for every Scannable at the end of a group of nested scans (or a single scan if that is the case).

      Note that this is only called if the Scan finishes normally, or has been requested to finish early. This will not be called if the scan finishes due to an exception of any kind. See Scannable.atCommandFailure() Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.

      Specified by:
      atScanEnd in interface Scannable
      Overrides:
      atScanEnd in class ScannableBase
      See Also:
    • getEventAdmin

      public Scriptcontroller getEventAdmin()
    • setEventAdmin

      public void setEventAdmin(Scriptcontroller eventAdmin)
    • isCalibrant

      public boolean isCalibrant()
    • setCalibrant

      public void setCalibrant(boolean calibrant)
    • getCurrentCalibrantDataFilename

      public String getCurrentCalibrantDataFilename()
    • setCurrentCalibrantDataFilename

      public void setCurrentCalibrantDataFilename(String calibrantFilename)
    • getCurrentCalibrationScannable

      public StringValueScannable getCurrentCalibrationScannable()
    • setCurrentCalibrationScannable

      public void setCurrentCalibrationScannable(StringValueScannable currentCalibrationScannable)
    • getSimpleUDPServer

      public SimpleUDPServerScannable getSimpleUDPServer()
    • setSimpleUDPServer

      public void setSimpleUDPServer(SimpleUDPServerScannable simpleUDPServer)
    • update

      public void update(Object source, Object arg)
      Specified by:
      update in interface gda.observable.IObserver
    • getSampleID

      public String getSampleID()
    • setSampleID

      public void setSampleID(String sampleID)