Package gda.scan
Class AbstractContinuousScanLine
java.lang.Object
gda.scan.ScanBase
gda.scan.ConcurrentScanChild
gda.scan.ConcurrentScan
gda.scan.AbstractContinuousScanLine
- All Implemented Interfaces:
IConcurrentScanChild,NestableScan,Scan,ScanChild,Serializable
- Direct Known Subclasses:
ConstantVelocityScanLine,TrajectoryScanLine
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class gda.scan.ConcurrentScanChild
ConcurrentScanChild.PointPositionInLineNested classes/interfaces inherited from class gda.scan.ScanBase
ScanBase.ParentScanComponentNested classes/interfaces inherited from interface gda.scan.Scan
Scan.ScanStatus -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<HardwareTriggeredDetector> protected booleanprotected List<ContinuouslyScannableViaController> Fields inherited from class gda.scan.ConcurrentScan
numberSteps, RETURNTOSTARTINGPOSITIONFields inherited from class gda.scan.ConcurrentScanChild
allChildScans, allScanObjects, detectorReadoutTask, scannableLevelsFields inherited from class gda.scan.ScanBase
allDetectors, allScannables, callCollectDataOnDetectors, child, command, currentPointCount, GDA_SCANBASE_FIRST_SCAN_NUMBER_FOR_TEST, GDA_SCANBASE_PRINT_TIMESTAMP_TO_TERMINAL, instrument, isChild, name, numberOfChildScans, parent, parentComponent, permissionLevel, scanDataPointPipeline, stepId, totalNumberOfPoints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidconfigureControllerPositions(boolean detectorsIntegrateBetweenTriggers) protected abstract voidvoidThe method in which the work of the scan is performed.protected final doubleprotected voidprotected ContinuousMoveControllerbooleanprotected voidvoidsetStatus(Scan.ScanStatus status) To allow nests of scans to share a common status with each other.protected voidMethods inherited from class gda.scan.ConcurrentScan
callAtPointStartHooks, createScanDataPoint, endScan, getDimension, getNumberPoints, getUserListedScannables, getUserListedScannablesToScan, isReturnScannablesToOrginalPositions, isSendUpdateEvents, reportDevicesByLevel, setReturnScannablesToOrginalPositions, setSendUpdateEventsMethods inherited from class gda.scan.ConcurrentScanChild
acquirePoint, cancelReadoutAndPublishCompletion, checkAllMovesComplete, generateDevicesToMoveByLevel, getAllChildScans, getAllDetectors, getAllScannables, getAllScanObjects, getChild, getCommand, getPointPositionInLine, getScannableLevels, isMustBeFinal, isScannableActuallyToBeMoved, isScannableToBeMoved, readoutDetectorsAndPublish, reorderAllScanObjects, setAllChildScans, setAllDetectors, setAllScannables, setAllScanObjects, setChild, setCommand, setMustBeFinal, setPointPositionInLine, setScannableLevels, setTotalNumberOfPoints, setUp, waitForDetectorReadoutAndPublishCompletionMethods inherited from class gda.scan.ScanBase
callAtCommandFailureHooks, callDetectorsEndCollection, callScannablesAtScanEnd, callScannablesAtScanLineEnd, callScannablesAtScanLineStart, callScannablesAtScanStart, checkStartStopStep, checkThreadInterrupted, collectData, createScanDataPointPipeline, createScanDataPointPipeline, generateRandomName, getDataWriter, getDetectors, getDimensions, getName, getNumberOfChildScans, getParent, getPositionCallableThreadPoolSize, getScanDataPointPipeline, getScanDataPointQueueLength, getScanInformation, getScannables, getScanNumber, getScanPlotSettings, getStatus, getStepId, getStepIds, getTotalNumberOfPoints, isChild, isFinishEarlyRequested, isLineScanNeedsDoing, notifyServer, notifyServer, numberOfScannablesThatCanProvidePositionCallables, pause, prepareForCollection, prepareScanForCollection, prepareScanNumber, prepareStaticVariables, readDevicesAndPublishScanDataPoint, reorderScannables, representThrowable, requestFinishEarly, resume, run, runScan, scanRunning, sendScanEvent, setChild, setDataWriter, setDetectors, setIsChild, setLineScanNeedsDoing, setNumberOfChildScans, setParent, setPositionCallableThreadPoolSize, setScanDataPointPipeline, setScanDataPointQueueLength, setScanIdentifierInScanDataPoint, setScannables, setScanNumber, setScanPlotSettings, setStatus, setStepId, shutdownScandataPipeline, signalScanComplete, signalScanStarted, sortArguments, waitIfPaused, wasScanExplicitlyHalted, wrappedExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.scan.IConcurrentScanChild
getTotalNumberOfPointsMethods inherited from interface gda.scan.Scan
getDataWriter, getDetectors, getName, getScanDataPointPipeline, getScanInformation, getScannables, getScanNumber, getScanPlotSettings, getStatus, getStepId, isChild, isFinishEarlyRequested, pause, prepareForCollection, requestFinishEarly, resume, run, runScan, setChild, setDataWriter, setDetectors, setIsChild, setScanDataPointPipeline, setScannables, setScanPlotSettings, setStepId
-
Field Details
-
detectors
-
scannablesToMove
-
detectorsIntegrateBetweenTriggers
protected boolean detectorsIntegrateBetweenTriggers
-
-
Constructor Details
-
AbstractContinuousScanLine
- Throws:
IllegalArgumentException
-
-
Method Details
-
isReadoutConcurrent
public boolean isReadoutConcurrent()- Overrides:
isReadoutConcurrentin classConcurrentScanChild
-
extractScannablesToScan
protected void extractScannablesToScan() -
prepareDevicesForCollection
- Overrides:
prepareDevicesForCollectionin classScanBase- Throws:
Exception
-
doCollection
Description copied from interface:ScanThe method in which the work of the scan is performed. This method assumes that the data handler has already been created and the baton claimed.- Specified by:
doCollectionin interfaceScan- Overrides:
doCollectionin classConcurrentScan- Throws:
Exception
-
configureControllerPositions
protected abstract void configureControllerPositions(boolean detectorsIntegrateBetweenTriggers) throws DeviceException, InterruptedException, Exception -
extractCommonCollectionTimeFromDetectors
- Throws:
DeviceException
-
configureControllerTriggerTimes
- Throws:
DeviceException
-
stopDetectors
- Throws:
DeviceException
-
getController
-
setStatus
To allow nests of scans to share a common status with each other.- Parameters:
status-
-