Class MotorIocDecorator

All Implemented Interfaces:
Device, Motor, Configurable, Findable, gda.observable.IObservable, Serializable, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
EpicsMotorDecorator

public abstract class MotorIocDecorator extends MotorBase implements org.springframework.beans.factory.InitializingBean
Abstract decorator class for EpicsMotor that initialises and monitors IOC status PV. It also supports connections of motor object to EPICS PVs after GDA had started if IOC status changed to RUNNING.
See Also:
  • Field Details

    • decoratedMotor

      protected Motor decoratedMotor
    • iocRunning

      protected boolean iocRunning
    • iocPv

      protected String iocPv
  • Constructor Details

    • MotorIocDecorator

      public MotorIocDecorator()
    • MotorIocDecorator

      public MotorIocDecorator(Motor decoratedMotor)
  • Method Details

    • getIocPv

      public String getIocPv()
    • setIocPv

      public void setIocPv(String iocPv)
    • isIocRunning

      public boolean isIocRunning()
    • setIocRunning

      public void setIocRunning(boolean iocRunning)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getDecoratedMotor

      public Motor getDecoratedMotor()
    • setDecoratedMotor

      public void setDecoratedMotor(Motor decoratedMotor)