Interface InterfaceDataSource<T extends MguiNumber>

Type Parameters:
T -
All Known Subinterfaces:
InterfaceDataSourceTimeSeries<T>, InterfaceDataSourceXY<T>
All Known Implementing Classes:
AbstractEnvironmentDataSource, MatrixPlotDataSource, PlotTimeSeriesDataSource, PlotXYDataSource, SimpleEnvironmentInputDataSource, SimpleEnvironmentObservableDataSource, VariablePlotTimeSeriesDataSource, VariablePlotXYDataSource, VolumeFileDataSource

public interface InterfaceDataSource<T extends MguiNumber>
Represents a source of data; i.e., an entity which emits discretized (presampled) signals.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Method Details

    • getSourceSignal

      java.util.List<T> getSourceSignal()
      Returns a list of type T, representing a signal emission.
      Returns:
    • getSourceSignalAsBytes

      byte[] getSourceSignalAsBytes()
      Returns an array of bytes, representing a signal emission.
      Returns:
    • addDataSourceListener

      void addDataSourceListener​(DataSourceListener l)
    • removeDataSourceListener

      void removeDataSourceListener​(DataSourceListener l)