DataGraphTraverser

from acron.core import DataGraphTraverser
class DataGraphTraverser

Bases:

This object supervises the traversal of the data graph and the moving of data from one DataNode to its children. The data graph is used to manage data from input devices, etc. See the overview of the data graph in dataNode.h.

Inheritance diagram

digraph inheritancef435f085fc { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "DataGraphTraverser" [URL="acron.core.DataGraphTraverser.html#acron.core.DataGraphTraverser",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "DataGraphTraverser" [arrowsize=0.75,style=""]; }
__init__()
collect_leftovers()

Pick up any nodes that didn’t get completely traversed. These must be nodes that have multiple parents, with at least one parent completely outside of the data graph.

get_current_thread()

Returns the currently-executing thread object, as passed to the DataGraphTraverser constructor.

traverse()

Starts the traversal of the data graph at the indicated root node.

traverse_below()

Continues the traversal to all the children of the indicated node, passing in the given data, without actually calling transmit_data() on the given node.