Class DummyEpicsMonitor

All Implemented Interfaces:
ControllerRecord, Device, Monitor, Scannable, InitializationListener, Configurable, Findable, gda.observable.IObservable
Direct Known Subclasses:
DummyEpicsMonitorDouble

@ServiceInterface(Monitor.class) public class DummyEpicsMonitor extends EpicsMonitor
  • Constructor Details

    • DummyEpicsMonitor

      public DummyEpicsMonitor()
  • Method Details

    • setValue

      public void setValue(Object newVal)
      Sets the value of this monitor.
      Parameters:
      newVal - the value
    • 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 EpicsMonitor
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • getPosition

      public Object 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 EpicsMonitor
      Returns:
      Current position with an element for each input and extra field. null if their are no fields.
      Throws:
      DeviceException
    • initializationCompleted

      public void initializationCompleted()
      Description copied from interface: InitializationListener
      Called when all critical channels are connected.
      Specified by:
      initializationCompleted in interface InitializationListener
      Overrides:
      initializationCompleted in class EpicsMonitor