Modifier and Type | Class | Description |
---|---|---|
static interface |
DataSplitter.IDataSinkFactory |
Modifier and Type | Field | Description |
---|---|---|
protected DataInfo |
dataInfo |
|
protected DataSplitter.IDataSinkFactory |
dataSinkFactory |
|
protected IDataSink[] |
dataSinks |
|
protected DataDouble[] |
outData |
|
protected DataTag |
tag |
Constructor | Description |
---|---|
DataSplitter() |
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).
|
void |
setDataSinkFactory(DataSplitter.IDataSinkFactory factory) |
protected final DataTag tag
protected IDataSink[] dataSinks
protected DataDouble[] outData
protected DataInfo dataInfo
protected 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
public void setDataSinkFactory(DataSplitter.IDataSinkFactory factory)