Package gda.device.detector.xmap
Class AbstractXmapTriggeringStrategy
java.lang.Object
gda.device.detector.xmap.AbstractXmapTriggeringStrategy
- All Implemented Interfaces:
AsyncNXCollectionStrategy,CollectionStrategyBeanInterface,NXCollectionStrategyPlugin,NXPlugin,NXPluginBase,PositionInputStream<NXDetectorDataAppender>,org.springframework.beans.factory.InitializingBean
public abstract class AbstractXmapTriggeringStrategy
extends Object
implements CollectionStrategyBeanInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconfigureAcquireAndPeriodTimes(double collectionTime) Deprecated.doubledoublegetName()getXmap()voidprepareForCollection(int numberImagesPerCollection, ScanInformation scanInfo) booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.device.detector.nxdetector.NXCollectionStrategyPlugin
collectData, getFileStructure, getNumberImagesPerCollection, getStatus, isGenerateCallbacks, prepareForCollection, setGenerateCallbacks, waitWhileBusyMethods inherited from interface gda.device.detector.nxdetector.NXPluginBase
atCommandFailure, completeCollection, completeLine, getInputStreamFormats, getInputStreamNames, prepareForLine, stopMethods inherited from interface gda.device.scannable.PositionInputStream
read
-
Constructor Details
-
AbstractXmapTriggeringStrategy
-
-
Method Details
-
getXmap
-
getAcquireTime
- Specified by:
getAcquireTimein interfaceNXCollectionStrategyPlugin- Throws:
Exception
-
getAcquirePeriod
- Specified by:
getAcquirePeriodin interfaceNXCollectionStrategyPlugin- Throws:
Exception
-
configureAcquireAndPeriodTimes
@Deprecated(since="GDA 8.26") public void configureAcquireAndPeriodTimes(double collectionTime) throws Exception Deprecated.- Specified by:
configureAcquireAndPeriodTimesin interfaceNXCollectionStrategyPlugin- Throws:
Exception
-
requiresAsynchronousPlugins
public boolean requiresAsynchronousPlugins()- Specified by:
requiresAsynchronousPluginsin interfaceNXCollectionStrategyPlugin- Returns:
- Return true if all other NXPlugins in the NXDetector must support asynchronous read , i.e. their
supportsAsynchronousRead method returns true.
For example in a trajectory scan the data for the plugins must be stored in some form of hardware cache that can be read out asynchronously to the scan.
-
getName
- Specified by:
getNamein interfaceNXPluginBase
-
willRequireCallbacks
public boolean willRequireCallbacks()- Specified by:
willRequireCallbacksin interfaceNXPluginBase
-
prepareForCollection
public void prepareForCollection(int numberImagesPerCollection, ScanInformation scanInfo) throws Exception - Specified by:
prepareForCollectionin interfaceNXPluginBase- Throws:
Exception
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-