14#ifndef DATAGRAPHTRAVERSER_H
15#define DATAGRAPHTRAVERSER_H
32class EXPCL_PANDA_DGRAPH DataGraphTraverser {
35 ~DataGraphTraverser();
46 typedef pvector<DataNodeTransmit> DataVector;
52 INLINE CollectedData();
58 typedef pmap<DataNode *, CollectedData> MultipassData;
59 MultipassData _multipass_data;
void traverse_below(PandaNode *node, const DataNodeTransmit &output)
Continues the traversal to all the children of the indicated node, passing in the given data,...
void traverse(PandaNode *node)
Starts the traversal of the data graph at the indicated root node.
Thread * get_current_thread() const
Returns the currently-executing thread object, as passed to the DataGraphTraverser constructor.
void collect_leftovers()
Pick up any nodes that didn't get completely traversed.
Encapsulates the data generated from (or sent into) any particular DataNode.
The fundamental type of node for the data graph.
A basic node of the scene graph or data graph.
A thread; that is, a lightweight process.
get_current_thread
Returns a pointer to the currently-executing Thread object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.