Package uk.ac.gda.component.model.api
Interface IndexMove
- All Known Subinterfaces:
Assembly,Beamline,Diffractometer,EndStation,Gonio,IndexPositioner,PlateLoader,SampleEnvironment
- All Known Implementing Classes:
AbstractPlateLoader,AssemblyAdapter,AssemblyBase,DiffractometerBase,EndStationBase,GonioBase,PlateLoaderAdapter
public interface IndexMove
-
Method Summary
Modifier and TypeMethodDescriptionvoidasynchronousMoveToDefined(String coordinatesName) Trigger a move/operation to a pre-defined and indexed position and return immediately.voidasynchronousMoveToIndex(int index) Returns an array of the names of registered defined coordinatesbooleanTests if the coordinates are at (or if appropriate, close to) the values in coordinatesToTest.booleanisAtIndex(int indexToTest) voidmoveToDefined(String coordinatesName) Trigger a move/operation and block until completion.voidmoveToIndex(int index)
-
Method Details
-
asynchronousMoveToDefined
Trigger a move/operation to a pre-defined and indexed position and return immediately. Implementations of this method should be non-blocking to allow concurrent motion;- Parameters:
coordinatesName- Coordinates to move to- Throws:
DeviceException
-
asynchronousMoveToIndex
- Throws:
DeviceException
-
getDefinedCoordinatesNames
Returns an array of the names of registered defined coordinates- Returns:
- an array of defined coordinates names
-
isAt
Tests if the coordinates are at (or if appropriate, close to) the values in coordinatesToTest.- Parameters:
coordinatesToTest- The position to compare the positioner's position to.- Returns:
- true if coordinates is at coordinatesToTest
- Throws:
DeviceException
-
isAtIndex
- Throws:
DeviceException
-
moveToDefined
Trigger a move/operation and block until completion.- Parameters:
coordinatesName- Coordinates to move to- Throws:
DeviceException
-
moveToIndex
- Throws:
DeviceException
-