Package algorithm

Class TrackingDataManager

java.lang.Object
algorithm.TrackingDataManager

public class TrackingDataManager extends Object
The class TrackingDataManager represents the interface between the GUI and data from InputOutput. It manages all collected tracking data.
  • Constructor Details

    • TrackingDataManager

      public TrackingDataManager()
  • Method Details

    • getToolMeasures

      public List<Tool> getToolMeasures()
    • restartMeasurements

      public void restartMeasurements()
      Restarts all measurements: resets the internal list of tools.
    • getNextData

      public List<Tool> getNextData(int countToGetNext)
      The method getNextData calls method update, which is from inputOutput, creates from return value of update a measurement and adds this tool
      Parameters:
      countToGetNext - - number of the reloaded data
      countToGetNext - ,
      Returns:
      toolMeasures
    • getSource

      public AbstractTrackingDataSource getSource()
    • setSource

      public void setSource(AbstractTrackingDataSource source)
      Parameters:
      source - Sets the TrackingDataSource that is used to get all data.