|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.data.DataProcessor
etomica.data.DataPump
public class DataPump
A DataProcessor whose action is to actively take Data from a DataSource and send it to DataSinks.
| Field Summary |
|---|
| Fields inherited from class etomica.data.DataProcessor |
|---|
dataInfo, dataSink, tag, trueDataSink |
| Constructor Summary | |
|---|---|
DataPump(IEtomicaDataSource dataSource,
IDataSink dataSink)
Constructs DataPump with the given DataSource and DataSink. |
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Transmits the data from the source to the sink. |
DataPipe |
getDataCaster(IEtomicaDataInfo incomingDataInfo)
Returns null, indicating that this DataSink can handle any type of Data without casting. |
IEtomicaDataSource |
getDataSource()
|
IData |
processData(IData inputData)
Returns the given Data. |
IEtomicaDataInfo |
processDataInfo(IEtomicaDataInfo inputDataInfo)
Returns the given DataInfo. |
| Methods inherited from class etomica.data.DataProcessor |
|---|
getDataInfo, getDataSink, getTag, insertTransformerIfNeeded, putData, putDataInfo, setDataSink |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataPump(IEtomicaDataSource dataSource,
IDataSink dataSink)
| Method Detail |
|---|
public void actionPerformed()
actionPerformed in interface IActionpublic IData processData(IData inputData)
processData in class DataProcessorinputData - the Data for processing
public IEtomicaDataInfo processDataInfo(IEtomicaDataInfo inputDataInfo)
processDataInfo in class DataProcessorpublic DataPipe getDataCaster(IEtomicaDataInfo incomingDataInfo)
getDataCaster in interface IDataSinkincomingDataInfo - the DataInfo for the Data that will fed to the sink's putData methodpublic IEtomicaDataSource getDataSource()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||