Package org.eclipse.scanning.api.scan
Class ScanInformation
java.lang.Object
org.eclipse.scanning.api.scan.ScanInformation
Holds state of whole scan. May be used in annotated methods like @ScanStart
to provide information about whole scan. Should not be used to hold transient
state during the scan. One should be created per run.
-
Constructor Summary
ConstructorsConstructorDescriptionScanInformation(IPointGenerator<?> pointGen, Collection<IDetectorModel> detectorModels, String filePath) ScanInformation(IPointGenerator<?> pointGen, ScanRequest scanRequest) ScanInformation(IPointGeneratorService pointGenService, ScanRequest scanRequest) -
Method Summary
-
Constructor Details
-
ScanInformation
public ScanInformation(IPointGeneratorService pointGenService, ScanRequest scanRequest) throws GeneratorException - Throws:
GeneratorException
-
ScanInformation
-
ScanInformation
public ScanInformation(IPointGenerator<?> pointGen, Collection<IDetectorModel> detectorModels, String filePath)
-
-
Method Details
-
getScanMode
-
getFilePath
-
getSize
public int getSize() -
getRank
public int getRank() -
getScannableNames
-
getShape
public int[] getShape() -
getTimePerPoint
public long getTimePerPoint() -
getEstimatedScanTime
public long getEstimatedScanTime() -
hashCode
public int hashCode() -
equals
-
toString
-