◆ TrackerBase()
Construct a new instance.
- Parameters
-
- config - the cache configuration to use when building the cache that is used internally by the tracker
Member Function Documentation
◆ match()
abstract boolean fiftyone.pipeline.engines.trackers.TrackerBase< T >.match ( FlowData data, T value ) abstract protectedUpdate the tracker value with relevant details.
Called when a tracked item matches an instance already in the tracker.
- Parameters
-
- data - the FlowData that has matched an existing entry in the tracker
- value - the meta-data instance that the tracker holds for the key generated from the data
- Returns
- true if the tracker's logic allows further processing of this flow data instance, false otherwise
◆ newValue()
abstract T fiftyone.pipeline.engines.trackers.TrackerBase< T >.newValue ( FlowData data ) abstract protectedCreate a tracker value instance.
Called when a new key is added to the tracker. The FlowData that is being added to the tracker.
- Parameters
-
- data - the FlowData that is being added to the tracker
- Returns
- a new meta-data instance to be stored with the DataKey created from the flow data instance
◆ track()
boolean fiftyone.pipeline.engines.trackers.TrackerBase< T >.track ( FlowData flowData ) Track the specified FlowData instance.
If the key created from the data does not yet exist in the tracker then it will be added. If it does already exist then the meta-data will be updated according to the tracker implementation's logic.
- Parameters
-
- flowData - the FlowData to track
- Returns
- true if further processing is allowed by the tracker's logic, false otherwise
Implements fiftyone.pipeline.engines.trackers.Tracker.