Package algorithm
Class TrackingDataManager
java.lang.Object
algorithm.TrackingDataManager
The class TrackingDataManager represents the interface between the GUI and
data from InputOutput. It manages all collected tracking data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNextData(int countToGetNext) The method getNextData calls method update, which is from inputOutput, creates from return value of update a measurement and adds this toolvoidRestarts all measurements: resets the internal list of tools.voidsetSource(AbstractTrackingDataSource source)
-
Constructor Details
-
TrackingDataManager
public TrackingDataManager()
-
-
Method Details
-
getToolMeasures
-
restartMeasurements
public void restartMeasurements()Restarts all measurements: resets the internal list of tools. -
getNextData
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 datacountToGetNext- ,- Returns:
- toolMeasures
-
getSource
-
setSource
- Parameters:
source- Sets the TrackingDataSource that is used to get all data.
-