Package mgui.interfaces.io
Interface InterfaceDataSourceTimeSeries<T extends MguiNumber>
- Type Parameters:
T
-
- All Superinterfaces:
InterfaceDataSource<T>
,InterfaceDataSourceXY<T>
- All Known Implementing Classes:
AbstractEnvironmentDataSource
,PlotTimeSeriesDataSource
,SimpleEnvironmentInputDataSource
,SimpleEnvironmentObservableDataSource
,VariablePlotTimeSeriesDataSource
public interface InterfaceDataSourceTimeSeries<T extends MguiNumber> extends InterfaceDataSourceXY<T>
Represents an XY signal source with multiple Y channels.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Method Summary
Modifier and Type Method Description int
getChannelCount()
Returns the number of Y channels in this source.java.util.List<T>
getSourceSignalX()
Returns the X data for this source.java.util.List<java.util.List<T>>
getSourceSignalY()
Returns the Y data corresponding to all channels.java.util.List<T>
getSourceSignalY(int i)
Returns the Y data corresponding to this signal's i'th channel.Methods inherited from interface mgui.interfaces.io.InterfaceDataSource
addDataSourceListener, getSourceSignal, getSourceSignalAsBytes, removeDataSourceListener
Methods inherited from interface mgui.interfaces.io.InterfaceDataSourceXY
getSourceSignalX, getSourceSignalXY
-
Method Details
-
getSourceSignalX
java.util.List<T> getSourceSignalX()Returns the X data for this source.- Returns:
-
getSourceSignalY
Returns the Y data corresponding to this signal's i'th channel.- Specified by:
getSourceSignalY
in interfaceInterfaceDataSourceXY<T extends MguiNumber>
- Parameters:
i
-- Returns:
-
getSourceSignalY
java.util.List<java.util.List<T>> getSourceSignalY()Returns the Y data corresponding to all channels.- Parameters:
i
-- Returns:
-
getChannelCount
int getChannelCount()Returns the number of Y channels in this source.- Specified by:
getChannelCount
in interfaceInterfaceDataSourceXY<T extends MguiNumber>
- Returns:
-