Package gda.device.motor
Class MotorIocDecorator
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.motor.MotorBase
gda.device.motor.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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class gda.device.motor.MotorBase
correctBacklash, isInitialised, maxPosition, minPositionFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Motor
FAST, MEDIUM, SLOW, SPEED_LEVELS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetIocPv()booleanvoidsetDecoratedMotor(Motor decoratedMotor) voidvoidsetIocRunning(boolean iocRunning) Methods inherited from class gda.device.motor.MotorBase
addInBacklash, correctBacklash, getBacklashSteps, getFastSpeed, getMaxPosition, getMediumSpeed, getMinPosition, getMotorResolution, getRetryDeadband, getSlowSpeed, getTimeToVelocity, getUnitString, getUserOffset, home, isHomeable, isHomed, isInitialised, isLimitsSettable, setBacklashSteps, setFastSpeed, setInitialised, setLimitsSettable, setMaxPosition, setMediumSpeed, setMinPosition, setMotorResolution, setSlowSpeed, setSoftLimits, setSpeedLevel, setTimeToVelocity, waitWhileStatusBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
configure, isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Motor
getPosition, getSpeed, getStatus, isMoving, moveBy, moveContinuously, moveTo, panicStop, setPosition, setSpeed, stop
-
Field Details
-
decoratedMotor
-
iocRunning
protected boolean iocRunning -
iocPv
-
-
Constructor Details
-
MotorIocDecorator
public MotorIocDecorator() -
MotorIocDecorator
-
-
Method Details
-
getIocPv
-
setIocPv
-
isIocRunning
public boolean isIocRunning() -
setIocRunning
public void setIocRunning(boolean iocRunning) -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getDecoratedMotor
-
setDecoratedMotor
-