Package uk.ac.gda.component.model.api
Interface CoordinatesMove
- All Known Subinterfaces:
Assembly,Beamline,Diffractometer,EndStation,Gonio,IndexPositioner,PlateLoader,SampleEnvironment
- All Known Implementing Classes:
AbstractPlateLoader,AssemblyAdapter,AssemblyBase,DiffractometerBase,EndStationBase,GonioBase,PlateLoaderAdapter
public interface CoordinatesMove
-
Method Summary
Modifier and TypeMethodDescriptionvoidasynchronousMoveToCoordinates(Coordinates coordinates) Trigger a move/operation and return immediately.booleancheckMovementValid(Coordinates start, Coordinates target) Returns the current predefined coordinates holder.voidmoveToCoordinates(Coordinates coordinates) Trigger a move/operation and block until completion.
-
Method Details
-
asynchronousMoveToCoordinates
Trigger a move/operation and return immediately. Implementations of this method should be non-blocking to allow concurrent motion; the isBusy method will be used to determine when the move has completed.- Parameters:
coordinates- Coordinates to move to- Throws:
DeviceException
-
checkMovementValid
-
getCurrentCoordinates
Returns the current predefined coordinates holder.- Returns:
- Current Coordinate object with a position element for each scannable dimension.
- Throws:
DeviceException
-
getDefinedCoordinates
Collection<Coordinates> getDefinedCoordinates() -
moveToCoordinates
Trigger a move/operation and block until completion.- Throws:
DeviceException
-