Package org.eclipse.scanning.api.points
Class AbstractGenerator<T extends IScanPathModel>
java.lang.Object
org.eclipse.scanning.api.points.AbstractGenerator<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Iterable<IPosition>,IModelProvider<T>,IPointGenerator<T>
- Direct Known Subclasses:
AbstractScanPointGenerator
public abstract class AbstractGenerator<T extends IScanPathModel>
extends Object
implements IPointGenerator<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.scanning.api.IModelProvider
setModel, updateModelMethods inherited from interface org.eclipse.scanning.api.points.IPointGenerator
getDimensionNames, getFirstPoint, getNames, getRank, getShape, iterator, sizeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
model
-
-
Constructor Details
-
AbstractGenerator
-
AbstractGenerator
protected AbstractGenerator()
-
-
Method Details
-
validateModel
protected abstract void validateModel() -
getModel
Description copied from interface:IPointGeneratorThe model for the generator.- Specified by:
getModelin interfaceIModelProvider<T extends IScanPathModel>- Specified by:
getModelin interfaceIPointGenerator<T extends IScanPathModel>- Returns:
-
createPoints
Description copied from interface:IPointGeneratorRelatively slow because all the points have to exist in memory. Points are lightweight and it is normally ok to have them all in memory. However if it can be avoided for a given scan, the scan will start faster.- Specified by:
createPointsin interfaceIPointGenerator<T extends IScanPathModel>- Returns:
-
hashCode
public int hashCode() -
equals
-
toString
-