\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

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 fiftyone_pipeline_engines.tracker.Tracker:

[legend]

Collaboration diagram for 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 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 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 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