Class DummyPersistentNamedEnumPositioner

All Implemented Interfaces:
Device, EditableEnumPositioner, EnumPositioner, NamedEnumPositioner, Scannable, Configurable, Findable, gda.observable.IObservable

public class DummyPersistentNamedEnumPositioner extends DummyNamedEnumPositioner
  • Constructor Details

    • DummyPersistentNamedEnumPositioner

      public DummyPersistentNamedEnumPositioner()
  • 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 DummyNamedEnumPositioner
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • moveTo

      public void moveTo(Object position) throws DeviceException
      Description copied from class: ScannableBase
      Trigger a move/operation and block until completion. If this is overridden, asynchronousMoveTo must also be valid, and the externalToInternal conversion must be applied.
      Specified by:
      moveTo in interface Scannable
      Overrides:
      moveTo in class DummyNamedEnumPositioner
      Parameters:
      position -
      Throws:
      DeviceException
    • getPosition

      public String getPosition() throws DeviceException
      Description copied from class: ScannableBase
      Returns the current position of the Scannable. Called by ConcurentScan at the end of the point. Reads an internal (hardware) position from rawGetPosition, converts this to an external (user) position and returns it.
      Specified by:
      getPosition in interface Scannable
      Overrides:
      getPosition in class DummyNamedEnumPositioner
      Returns:
      Current position with an element for each input and extra field. null if their are no fields.
      Throws:
      DeviceException
    • getConfigurationName

      public String getConfigurationName()
    • setConfigurationName

      public void setConfigurationName(String configurationName)
    • getPropertyName

      public String getPropertyName()
    • setPropertyName

      public void setPropertyName(String propertyName)