Class GonioAdapter
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
uk.ac.gda.component.beamline.common.gonio.GonioAdapter
- All Implemented Interfaces:
Stoppable,Configurable,Findable,gda.observable.IObservable,GonioService
- Direct Known Subclasses:
GonioKappaPhiDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from interface uk.ac.gda.component.beamline.gonio.GonioService
GonioService.Axis -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivate()voidaddIObserver(gda.observable.IObserver observer) voidaddScannableName(String name) voidDefault 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.voiddeleteIObserver(gda.observable.IObserver observer) voidgetGonio()booleanChecks to see if the object is already configured.moveOmega(double omega) moveTableX(double x) moveTableY(double y) moveTableZ(double z) moveX(double x) moveY(double y) moveZ(double z) park()readX()readY()readZ()voidvoidstop()Stops the current operation.Methods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.gda.component.beamline.gonio.GonioService
getName
-
Constructor Details
-
GonioAdapter
public GonioAdapter()
-
-
Method Details
-
activate
- Specified by:
activatein interfaceGonioService- Throws:
DeviceException
-
addIObserver
public void addIObserver(gda.observable.IObserver observer) - Specified by:
addIObserverin interfacegda.observable.IObservable
-
addScannableName
- Throws:
FactoryException
-
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
-
isConfigured
public boolean isConfigured()Description copied from interface:ConfigurableChecks to see if the object is already configured.- Specified by:
isConfiguredin interfaceConfigurable- Overrides:
isConfiguredin classConfigurableBase- Returns:
- return
trueif configuredfalseotherwise
-
deleteIObserver
public void deleteIObserver(gda.observable.IObserver observer) - Specified by:
deleteIObserverin interfacegda.observable.IObservable
-
deleteIObservers
public void deleteIObservers()- Specified by:
deleteIObserversin interfacegda.observable.IObservable
-
getGonio
-
getScannableName
- Specified by:
getScannableNamein interfaceGonioService
-
moveOmega
- Specified by:
moveOmegain interfaceGonioService- Throws:
DeviceException
-
moveTableX
- Specified by:
moveTableXin interfaceGonioService- Throws:
DeviceException
-
moveTableY
- Specified by:
moveTableYin interfaceGonioService- Throws:
DeviceException
-
moveTableZ
- Specified by:
moveTableZin interfaceGonioService- Throws:
DeviceException
-
moveTo
- Specified by:
moveToin interfaceGonioService- Throws:
DeviceException
-
moveX
- Specified by:
moveXin interfaceGonioService- Throws:
DeviceException
-
moveY
- Specified by:
moveYin interfaceGonioService- Throws:
DeviceException
-
moveZ
- Specified by:
moveZin interfaceGonioService- Throws:
DeviceException
-
park
- Specified by:
parkin interfaceGonioService- Throws:
DeviceException
-
readAxis
- Specified by:
readAxisin interfaceGonioService- Throws:
DeviceException
-
readOmega
- Specified by:
readOmegain interfaceGonioService- Throws:
DeviceException
-
readTableX
- Specified by:
readTableXin interfaceGonioService- Throws:
DeviceException
-
readTableY
- Specified by:
readTableYin interfaceGonioService- Throws:
DeviceException
-
readTableZ
- Specified by:
readTableZin interfaceGonioService- Throws:
DeviceException
-
readX
- Specified by:
readXin interfaceGonioService- Throws:
DeviceException
-
readY
- Specified by:
readYin interfaceGonioService- Throws:
DeviceException
-
readZ
- Specified by:
readZin interfaceGonioService- Throws:
DeviceException
-
setGonio
-
stop
Description copied from interface:StoppableStops the current operation.- Specified by:
stopin interfaceGonioService- Specified by:
stopin interfaceStoppable- Throws:
DeviceException
-