Modifier and Type | Class | Description |
---|---|---|
static interface |
DataDistributer.Indexer |
Modifier and Type | Field | Description |
---|---|---|
protected IDataInfo |
dataInfo |
|
protected DataSplitter.IDataSinkFactory |
dataSinkFactory |
|
protected IDataSink[] |
dataSinks |
|
protected DataDistributer.Indexer |
indexer |
|
protected DataDouble[] |
outData |
|
protected DataTag |
tag |
Constructor | Description |
---|---|
DataDistributer(DataDistributer.Indexer indexer,
DataSplitter.IDataSinkFactory dataSinkFactory) |
Modifier and Type | Method | Description |
---|---|---|
IDataSink |
getDataSink(int i) |
Returns the DataSink for the ith output stream (corresponding to the ith
numerical value coming in).
|
int |
getNumDataSinks() |
|
DataTag |
getTag() |
Returns the DataTag associated with this DataSplitter
|
void |
putData(IData data) |
Gives data to DataSink for processing, display, or whatever it does.
|
void |
putDataInfo(IDataInfo incomingDataInfo) |
Informs the DataSink of the type of Data it should expect to receive.
|
void |
setDataSink(int i,
IDataSink newDataSink) |
Sets the DataSink for the ith output stream (corresponding to the ith
numerical value coming in).
|
protected final DataTag tag
protected final DataSplitter.IDataSinkFactory dataSinkFactory
protected final DataDistributer.Indexer indexer
protected IDataSink[] dataSinks
protected DataDouble[] outData
protected IDataInfo dataInfo
public DataDistributer(DataDistributer.Indexer indexer, DataSplitter.IDataSinkFactory dataSinkFactory)
public DataTag getTag()
public IDataSink getDataSink(int i)
public int getNumDataSinks()
public void setDataSink(int i, IDataSink newDataSink)
public void putData(IData data)
IDataSink
public void putDataInfo(IDataInfo incomingDataInfo)
IDataSink
putDataInfo
in interface IDataSink