51Degrees Pipeline Python  4.1

51Degrees Pipeline for Python
  • pipeline-python
  • fiftyone_pipeline_engines
  • fiftyone_pipeline_engines
  • tracker
  • tracker

pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.tracker.tracker Class Reference

Detailed Description

A tracker is an instance of datakeyed cache which, if a result is found in the cache, calls an additional boolean match method.

Inheritance diagram for pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.tracker.tracker:

[legend]

Collaboration diagram for pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.tracker.tracker:

[legend]

Public Member Functions

def  track (self, key)
The track method calls the dataKeyedCache get method, if it receives a result it sends it onto a match function. More...
def  match (self, result)
If object is found in cache, the match function is called. More...

Public Member Functions inherited from pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache

def  get_cache_value (self, cachekey)
Get data from the cache @type key : string. More...
def  set_cache_value (self, cachekey, value)
Place data in the cache @type key : string. More...

Member Function Documentation

◆ match()

def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.tracker.tracker.match (   self,
  result  
)

If object is found in cache, the match function is called.

@type key : result of the track function @rtype bool

Returns
whether a match has been made

◆ track()

def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.tracker.tracker.track (   self,
  key  
)

The track method calls the dataKeyedCache get method, if it receives a result it sends it onto a match function.

@type key : cache key to run through tracker @rtype bool

Returns
result of tracking