Class BeforeAfterScannables

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

public class BeforeAfterScannables extends ScannableMotionUnitsBase
  • Constructor Details

  • Method Details

    • rawAsynchronousMoveTo

      public void rawAsynchronousMoveTo(Object position) throws DeviceException
      Description copied from class: ScannableBase
      [Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.
      Overrides:
      rawAsynchronousMoveTo in class ScannableBase
      Parameters:
      position - Position in its internal/hardware representation. e.g. with units and offsets removed
      Throws:
      DeviceException
      See Also:
    • rawGetPosition

      public Object rawGetPosition() throws DeviceException
      Description copied from class: ScannableBase
      [Consider abstract] Read the position in its internal (user) representation.
      Overrides:
      rawGetPosition in class ScannableBase
      Returns:
      the value represented by this Scannable
      Throws:
      DeviceException
      See Also:
    • isBusy

      public boolean isBusy() throws DeviceException
      Description copied from class: ScannableMotionBase
      Check if the Scannable is moving/operating.. Calls onto rawIsBusy for historical reasons, although there is currently no need for this.
      Specified by:
      isBusy in interface Scannable
      Overrides:
      isBusy in class ScannableMotionBase
      Returns:
      true - if operation carried out by moveTo has not completed yet
      Throws:
      DeviceException
      See Also:
    • getDelayBeforeMovingDelegate

      public long getDelayBeforeMovingDelegate()
    • setDelayBeforeMovingDelegate

      public void setDelayBeforeMovingDelegate(long milliseconds)
      Minimum time to wait between initial move of 'beforeAfter' and before moving 'delegate'.
    • getDelegate

      public Scannable getDelegate()
    • setDelegate

      public void setDelegate(Scannable delegate)
    • getBeforeScannables

      public Map<Scannable,Object> getBeforeScannables()
    • setBeforeScannables

      public void setBeforeScannables(Map<Scannable,Object> beforeScannables)
    • getAfterScannables

      public Map<Scannable,Object> getAfterScannables()
    • setAfterScannables

      public void setAfterScannables(Map<Scannable,Object> afterScannables)
    • getJythonCommandsBefore

      public List<String> getJythonCommandsBefore()
    • setJythonCommandsBefore

      public void setJythonCommandsBefore(List<String> jythonCommandsBefore)
    • getJythonCommandsAfter

      public List<String> getJythonCommandsAfter()
    • setJythonCommandsAfter

      public void setJythonCommandsAfter(List<String> jythonCommandsAfter)