public class AccumulationStrategyByPass extends AAccumulationStrategy
source
argument is returned from it's method
iterator(ITrace2D, int)
.
IAccumulationStrategy.AccumulationControlConsecutivePoints, IAccumulationStrategy.IAccumulationControl
m_propertyChangeSupport, PROPERTY_ACCUMULATION_FUNCTION
Constructor and Description |
---|
AccumulationStrategyByPass(IAccumulationFunction accumulationFunction)
Constructor taking the accumulation function to use.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ITracePoint2D> |
iterator(ITrace2D source,
int amountOfPoints)
Template method to return an iterator over accumulated points.
|
addPropertyChangeListener, firePropertyChange, getAccumulationFunction, removePropertyChangeListener, removePropertyChangeListener, setAccumulationFunction
public AccumulationStrategyByPass(IAccumulationFunction accumulationFunction)
accumulationFunction
- the accumulation function to use.public Iterator<ITracePoint2D> iterator(ITrace2D source, int amountOfPoints)
IAccumulationStrategy
iterator
in interface IAccumulationStrategy
iterator
in class AAccumulationStrategy
source
- the real points of this trace.amountOfPoints
- would allow to filter out points to accumulate by just taking n
consecutive trace points.AAccumulationStrategy.iterator(info.monitorenter.gui.chart.ITrace2D, int)
Copyright © 2017. All rights reserved.