Package gda.px.detector
Class EpicsDetectorShutter
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.px.detector.DetectorShutterBase
gda.px.detector.EpicsDetectorShutter
- All Implemented Interfaces:
InitializationListener,Configurable,Findable,DetectorShutter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EpicsChannelManagerprotected gov.aps.jca.Channelprotected EpicsControllerprotected gov.aps.jca.Channelprotected gov.aps.jca.Channel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault 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.voidCalled when all critical channels are connected.booleanisClosed()booleanisOpen()voidprotected voidsetState(gda.px.detector.DetectorShutterBase.State state) Methods inherited from class gda.px.detector.DetectorShutterBase
approve, close, getApprover, getLoggingName, open, setApprover, setLoggingNameMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Field Details
-
controller
-
channelManager
-
setShutterStateChannel
protected gov.aps.jca.Channel setShutterStateChannel -
closeLimitChannel
protected gov.aps.jca.Channel closeLimitChannel -
openLimitChannel
protected gov.aps.jca.Channel openLimitChannel
-
-
Constructor Details
-
EpicsDetectorShutter
public EpicsDetectorShutter()
-
-
Method Details
-
setPvName
-
configure
Description copied from class:ConfigurableBaseDefault 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:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
setState
- Specified by:
setStatein classDetectorShutterBase- Throws:
DeviceException
-
isOpen
- Specified by:
isOpenin interfaceDetectorShutter- Throws:
DeviceException
-
isClosed
- Specified by:
isClosedin interfaceDetectorShutter- Throws:
DeviceException
-
initializationCompleted
public void initializationCompleted() throws InterruptedException, DeviceException, gov.aps.jca.TimeoutException, gov.aps.jca.CAExceptionDescription copied from interface:InitializationListenerCalled when all critical channels are connected.- Specified by:
initializationCompletedin interfaceInitializationListener- Throws:
InterruptedExceptionDeviceExceptiongov.aps.jca.TimeoutExceptiongov.aps.jca.CAException
-