sofa::simulation::ResetVisitor Class Reference

#include <ResetVisitor.h>

Inheritance diagram for sofa::simulation::ResetVisitor:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::ResetVisitor:

Collaboration graph
[legend]

Public Member Functions

 ResetVisitor ()
void processObject (core::objectmodel::BaseObject *obj)
virtual Result processNodeTopDown (simulation::Node *node)
 Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.
virtual void processNodeBottomUp (simulation::Node *node)
 Callback method called after child node have been processed and before going back to the parent node.
virtual bool isThreadSafe () const
 Specify whether this action can be parallelized.

Detailed Description

Definition at line 39 of file ResetVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::ResetVisitor::ResetVisitor (  )  [inline]

Definition at line 42 of file ResetVisitor.h.


Member Function Documentation

virtual bool sofa::simulation::ResetVisitor::isThreadSafe (  )  const [inline, virtual]

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 50 of file ResetVisitor.h.

void sofa::simulation::ResetVisitor::processNodeBottomUp ( simulation::Node *   )  [virtual]

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

Reimplemented from sofa::simulation::Visitor.

Definition at line 50 of file ResetVisitor.cpp.

Visitor::Result sofa::simulation::ResetVisitor::processNodeTopDown ( simulation::Node *   )  [virtual]

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

Reimplemented from sofa::simulation::Visitor.

Definition at line 41 of file ResetVisitor.cpp.

References sofa::simulation::Node::object, processObject(), and sofa::simulation::Visitor::RESULT_CONTINUE.

void sofa::simulation::ResetVisitor::processObject ( core::objectmodel::BaseObject *  obj  ) 

Definition at line 36 of file ResetVisitor.cpp.

References sofa::core::objectmodel::BaseObject::reset().

Referenced by processNodeTopDown().


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

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