Class SensorFrameworkDataset

java.lang.Object
de.uka.ipd.sdq.sensorframework.SensorFrameworkDataset

public class SensorFrameworkDataset extends Object
Deprecated.
Superseded by EDP2.
Provides access to the singleton dataset of the SensorFramework. Used to display all datasources in the SimuBench Perspective.
  • Method Details

    • singleton

      public static SensorFrameworkDataset singleton()
      Deprecated.
      Returns:
      the one central instance containing all datasources.
    • getDataSources

      public Collection<IDAOFactory> getDataSources()
      Deprecated.
      Returns all data sources in the dataset.
      Returns:
      datasources.
    • getDataSourceByID

      public IDAOFactory getDataSourceByID(long id)
      Deprecated.
      Retrieve a datasource by its dynamic numeric identifier.
      Parameters:
      id - id of the datasource.
      Returns:
      datasource.
    • addDataSource

      public void addDataSource(IDAOFactory dataSource)
      Deprecated.
      Add a provided datasource.
      Parameters:
      dataSource - the datasource.
    • removeDataSource

      public void removeDataSource(IDAOFactory factory)
      Deprecated.
      Removes a datasource from the current Dataset.
      Parameters:
      factory - the datasource itself to remove.
    • removeAllDataSources

      public void removeAllDataSources()
      Deprecated.
      Removes all data sources from the current data set.
    • reload

      public void reload()
      Deprecated.
      Reloads all known datasources. Throws runtime exeception if some datasources are faulty.