robokudo.pipeline¶
Classes¶
A RoboKudo pipeline composed of annotators and their own cas |
Module Contents¶
- class robokudo.pipeline.Pipeline(name='Sequence', children=None, *args, **kwargs)¶
-
Bases:
py_trees.composites.Sequence
A RoboKudo pipeline composed of annotators and their own cas
- cas = None¶
- cas_start_timer = None¶
- rk_logger = None¶
- create_new_cas()¶
- setup(timeout)¶
- get_cas()¶
- get_annotators()¶
- pipeline_children()¶
-
Return a list with all children this pipeline contains. In contrast to the normal children method, this method will stop the traversal if it encounters a nested Pipeline object. The order is given by utils.tree.behavior_iterate_except_type.
- update()¶
- terminate(new_status)¶
-
Called whenever behavior switches to !RUNNING state. new_status can be SUCCESS, FAILURE or INVALID