Package gda.px.sampleChanger
Class DummySamplePresentMonitor
java.lang.Object
gda.factory.ConfigurableBase
gda.px.sampleChanger.SamplePresentMonitorBase
gda.px.sampleChanger.DummySamplePresentMonitor
- All Implemented Interfaces:
Configurable,Findable,gda.observable.IObservable,SamplePresentMonitor
-
Field Summary
FieldsFields inherited from class gda.px.sampleChanger.SamplePresentMonitorBase
isDetectorEnabled -
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.booleanvoidsetSamplePresent(boolean samplePresent) Methods inherited from class gda.px.sampleChanger.SamplePresentMonitorBase
addIObserver, deleteIObserver, deleteIObservers, getName, isEnabled, sendEnabledEventIfFirstStateChange, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Field Details
-
samplePresent
protected boolean samplePresent
-
-
Constructor Details
-
DummySamplePresentMonitor
public DummySamplePresentMonitor()
-
-
Method Details
-
isSamplePresent
public boolean isSamplePresent() -
setSamplePresent
public void setSamplePresent(boolean samplePresent) -
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
-