sofa::simulation::UpdateMappingVisitor Class Reference

#include <UpdateMappingVisitor.h>

Inheritance diagram for sofa::simulation::UpdateMappingVisitor:

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

Collaboration graph
[legend]

Public Member Functions

void processMapping (simulation::Node *node, core::BaseMapping *obj)
void processMechanicalMapping (simulation::Node *, core::componentmodel::behavior::BaseMechanicalMapping *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 const char * getCategoryName () const
 Return a category name for this action.
virtual bool isThreadSafe () const
 Specify whether this action can be parallelized.

Detailed Description

Definition at line 39 of file UpdateMappingVisitor.h.


Member Function Documentation

virtual const char* sofa::simulation::UpdateMappingVisitor::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 50 of file UpdateMappingVisitor.h.

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

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 53 of file UpdateMappingVisitor.h.

void sofa::simulation::UpdateMappingVisitor::processMapping ( simulation::Node *  node,
core::BaseMapping *  obj 
)

Definition at line 34 of file UpdateMappingVisitor.cpp.

References sofa::core::BaseMapping::updateMapping().

Referenced by processNodeTopDown().

void sofa::simulation::UpdateMappingVisitor::processMechanicalMapping ( simulation::Node *  ,
core::componentmodel::behavior::BaseMechanicalMapping *  obj 
)

Visitor::Result sofa::simulation::UpdateMappingVisitor::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 48 of file UpdateMappingVisitor.cpp.

References sofa::simulation::Visitor::for_each(), sofa::simulation::Node::mapping, sofa::simulation::Node::mechanicalMapping, processMapping(), processMechanicalMapping(), and sofa::simulation::Visitor::RESULT_CONTINUE.


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

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