#include <InitVisitor.h>


Public Member Functions | |
| InitVisitor () | |
| 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. | |
| virtual const char * | getCategoryName () const |
| Return a category name for this action. | |
Forward: simulation::Node::initialize() This method puts the OdeSolver, if any, first in the list of components. Then BaseObject::init() for all components.
Backward: OdeSolver::bwdInit()
Definition at line 50 of file InitVisitor.h.
| sofa::simulation::InitVisitor::InitVisitor | ( | ) | [inline] |
Definition at line 54 of file InitVisitor.h.
| virtual const char* sofa::simulation::InitVisitor::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 65 of file InitVisitor.h.
| virtual bool sofa::simulation::InitVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 61 of file InitVisitor.h.
| void sofa::simulation::InitVisitor::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 48 of file InitVisitor.cpp.
References sofa::simulation::Node::object, and sofa::simulation::Node::setDefaultVisualContextValue().
| Visitor::Result sofa::simulation::InitVisitor::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 36 of file InitVisitor.cpp.
References sofa::simulation::Node::initialize(), sofa::simulation::Node::object, and sofa::simulation::Visitor::RESULT_CONTINUE.
1.5.7.1