sofa::simulation::tree::CleanupVisitor Class Reference

#include <DeleteVisitor.h>

Inheritance diagram for sofa::simulation::tree::CleanupVisitor:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::tree::CleanupVisitor:

Collaboration graph
[legend]

Public Member Functions

 CleanupVisitor ()
virtual Result processNodeTopDown (GNode *node)
 Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.
virtual void processNodeBottomUp (GNode *node)
 Callback method called after child node have been processed and before going back to the parent node.

Detailed Description

Definition at line 40 of file DeleteVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::tree::CleanupVisitor::CleanupVisitor (  )  [inline]

Definition at line 43 of file DeleteVisitor.h.


Member Function Documentation

void sofa::simulation::tree::CleanupVisitor::processNodeBottomUp ( GNode *   )  [virtual]

Callback method called after child node have been processed and before going back to the parent node.

Reimplemented from sofa::simulation::tree::GNodeVisitor.

Definition at line 58 of file DeleteVisitor.cpp.

simulation::Visitor::Result sofa::simulation::tree::CleanupVisitor::processNodeTopDown ( GNode *   )  [virtual]

Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.

Reimplemented from sofa::simulation::tree::GNodeVisitor.

Definition at line 37 of file DeleteVisitor.cpp.

References sofa::simulation::Node::object, and sofa::simulation::Visitor::RESULT_CONTINUE.


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:24:37 2008 for Sofa by  doxygen 1.5.7.1