IAction
, DataPipe
, IDataSink
, IntegratorListener
public class DataPumpListenerPow extends DataPump implements IntegratorListener
Modifier and Type | Field | Description |
---|---|---|
protected long |
interval |
|
protected long |
intervals |
|
protected IData |
lastData |
|
protected int |
maxRatio |
|
protected int |
pow |
|
protected long |
stepCount |
|
protected long |
totalSteps |
dataInfo, dataSink, tag
dataSource, dataSourceInfo
Constructor | Description |
---|---|
DataPumpListenerPow(IDataSource dataSource,
IDataSink dataSink) |
|
DataPumpListenerPow(IDataSource dataSource,
IDataSink dataSink,
long interval,
int pow,
int maxRatio) |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Transmits the data from the source to the sink.
|
long |
getInterval() |
|
void |
integratorInitialized(IntegratorEvent e) |
Invoked when integration begins.
|
void |
integratorStepFinished(IntegratorEvent e) |
Invoked at the end of each integrator step.
|
void |
integratorStepStarted(IntegratorEvent e) |
Invoked at the beginning of each integrator step.
|
void |
reset() |
getDataInfo, getDataSink, getTag, putData, putDataInfo, setDataSink
getDataSource, processData, processDataInfo
protected long interval
protected long stepCount
protected long intervals
protected long totalSteps
protected int maxRatio
protected int pow
protected IData lastData
public DataPumpListenerPow(IDataSource dataSource, IDataSink dataSink)
public DataPumpListenerPow(IDataSource dataSource, IDataSink dataSink, long interval, int pow, int maxRatio)
public void integratorInitialized(IntegratorEvent e)
IntegratorListener
integratorInitialized
in interface IntegratorListener
public void integratorStepStarted(IntegratorEvent e)
IntegratorListener
integratorStepStarted
in interface IntegratorListener
public void integratorStepFinished(IntegratorEvent e)
IntegratorListener
integratorStepFinished
in interface IntegratorListener
public void actionPerformed()
DataPump
actionPerformed
in interface IAction
actionPerformed
in class DataPump
public void reset()
public long getInterval()