sofa::simulation::UpdateContextVisitor Class Reference

#include <UpdateContextVisitor.h>

Inheritance diagram for sofa::simulation::UpdateContextVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 UpdateContextVisitor ()
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 const char * getCategoryName () const
 Return a category name for this action.
virtual bool isThreadSafe () const
 Specify whether this action can be parallelized.

Protected Attributes

Node * startingNode

Detailed Description

Definition at line 37 of file UpdateContextVisitor.h.


Constructor & Destructor Documentation

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

Definition at line 40 of file UpdateContextVisitor.h.


Member Function Documentation

virtual const char* sofa::simulation::UpdateContextVisitor::getCategoryName (  )  const [inline, virtual]

Return a category name for this action.

Only used for debugging / profiling purposes

Reimplemented from sofa::simulation::Visitor.

Definition at line 48 of file UpdateContextVisitor.h.

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

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 51 of file UpdateContextVisitor.h.

Visitor::Result sofa::simulation::UpdateContextVisitor::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.

Reimplemented in sofa::simulation::UpdateSimulationContextVisitor, and sofa::simulation::UpdateVisualContextVisitor.

Definition at line 34 of file UpdateContextVisitor.cpp.

References sofa::simulation::Visitor::RESULT_CONTINUE, startingNode, and sofa::simulation::Node::updateContext().


Field Documentation


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

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