Class AbstractMultiGenerator<T extends AbstractMultiModel<?>>

Type Parameters:
T -
All Implemented Interfaces:
Iterable<IPosition>, IModelProvider<T>, IPointGenerator<T>, PySerializable
Direct Known Subclasses:
CompoundGenerator, ConcurrentMultiGenerator, ConsecutiveMultiGenerator

public abstract class AbstractMultiGenerator<T extends AbstractMultiModel<?>> extends AbstractScanPointGenerator<T>
A Generator for Models that are made of more than one model- as currently all implementations are SPG models which are unable to deal with CompoundModels, the validation ensures that no grid models are passed. Maintains a list of IPointGenerator equivalent to the models its model contains, passing their PPointGenerators down. While there is some redundancy here, the MultiModel contains all the model information in one place, and as generators now instantiate their JythonGenerator on creation, it is better to cache them if they might be needed more than once.