#include <UpdateContextVisitor.h>


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 |
Definition at line 37 of file UpdateContextVisitor.h.
| sofa::simulation::UpdateContextVisitor::UpdateContextVisitor | ( | ) | [inline] |
Definition at line 40 of file UpdateContextVisitor.h.
| 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().
Node* sofa::simulation::UpdateContextVisitor::startingNode [protected] |
Definition at line 53 of file UpdateContextVisitor.h.
Referenced by sofa::simulation::UpdateVisualContextVisitor::processNodeTopDown(), sofa::simulation::UpdateSimulationContextVisitor::processNodeTopDown(), and processNodeTopDown().
1.5.7.1