Class BeforeAfterScannable

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

public class BeforeAfterScannable 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)
    • getBeforeAfter

      public Scannable getBeforeAfter()
    • setBeforeAfter

      public void setBeforeAfter(Scannable beforeAfter)
    • getBefore

      public Object getBefore()
    • setBefore

      public void setBefore(Object before)
    • getAfter

      public Object getAfter()
    • setAfter

      public void setAfter(Object after)