#include <StateChangeVisitor.h>


Public Member Functions | |
| StateChangeVisitor () | |
| virtual void | processStateChange (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 bool | isThreadSafe () const |
| Specify whether this action can be parallelized. | |
| virtual const char * | getCategoryName () const |
| Return a category name for this action. | |
Protected Attributes | |
| bool | root |
Definition at line 36 of file StateChangeVisitor.h.
| sofa::simulation::StateChangeVisitor::StateChangeVisitor | ( | ) |
Definition at line 36 of file StateChangeVisitor.cpp.
| virtual const char* sofa::simulation::StateChangeVisitor::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 51 of file StateChangeVisitor.h.
| virtual bool sofa::simulation::StateChangeVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 47 of file StateChangeVisitor.h.
| Visitor::Result sofa::simulation::StateChangeVisitor::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 46 of file StateChangeVisitor.cpp.
References sofa::simulation::Node::mechanicalMapping, sofa::simulation::Node::mechanicalState, processStateChange(), sofa::simulation::Visitor::RESULT_CONTINUE, sofa::simulation::Visitor::RESULT_PRUNE, and root.
| void sofa::simulation::StateChangeVisitor::processStateChange | ( | core::objectmodel::BaseObject * | obj | ) | [virtual] |
Definition at line 41 of file StateChangeVisitor.cpp.
References sofa::core::objectmodel::BaseObject::handleStateChange().
Referenced by processNodeTopDown().
bool sofa::simulation::StateChangeVisitor::root [protected] |
1.5.7.1