Class I18SampleEnvironmentIterator
java.lang.Object
uk.ac.gda.server.exafs.scan.preparers.I18SampleEnvironmentIterator
- All Implemented Interfaces:
SampleEnvironmentIterator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBased on the current position of the iterator AFTER a call to moveToNext, what are the same details (descriptions) of the next sample to be runBased on the current position of the iterator AFTER a call to moveToNext, what is the name of the next sample to be runintvoidnext()Move the sample environment to the next position in its array.voidDo not operate hardware, but move the iteration back to the start.
-
Constructor Details
-
I18SampleEnvironmentIterator
-
-
Method Details
-
getNumberOfRepeats
public int getNumberOfRepeats()- Specified by:
getNumberOfRepeatsin interfaceSampleEnvironmentIterator- Returns:
- the total number of scans defined by the bean held by this object
-
next
Description copied from interface:SampleEnvironmentIteratorMove the sample environment to the next position in its array. Does not return until the sample environment change has completed.- Specified by:
nextin interfaceSampleEnvironmentIterator- Throws:
DeviceExceptionInterruptedException
-
resetIterator
public void resetIterator()Description copied from interface:SampleEnvironmentIteratorDo not operate hardware, but move the iteration back to the start. To be used when there is an external loop to the sample environment.- Specified by:
resetIteratorin interfaceSampleEnvironmentIterator
-
getNextSampleName
Description copied from interface:SampleEnvironmentIteratorBased on the current position of the iterator AFTER a call to moveToNext, what is the name of the next sample to be run- Specified by:
getNextSampleNamein interfaceSampleEnvironmentIterator
-
getNextSampleDescriptions
Description copied from interface:SampleEnvironmentIteratorBased on the current position of the iterator AFTER a call to moveToNext, what are the same details (descriptions) of the next sample to be run- Specified by:
getNextSampleDescriptionsin interfaceSampleEnvironmentIterator- Returns:
- String[]
-