Returns a tracked value by id, or undefined if not found
Protected
getReturns true if id
is stored
Enumerate ids
Enumerate starting values
Enumerate last received values
Remove all tracked values. Use delete to remove a single value by id.
Enumerate tracked values
Iterates TrackedValues ordered with oldest first
Iterates underlying values, ordered by age (oldest first)
First the named values are sorted by their elapsed
value, and then
we return the last value for that group.
Keeps track of keyed values of type
V
(eg Point). It stores occurences in typeT
, which must extend fromTrackerBase<V>
, egPointTracker
.The
creator
function passed in to the constructor is responsible for instantiating the appropriateTrackerBase
sub-class.Example: Sub-class