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
-
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 toolvoid
Restarts all measurements: resets the internal list of tools.void
setSource
(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.
-