sofa::simulation::MechanicalVAvailVisitor Class Reference

Find the first available index for a VecId. More...

#include <MechanicalVisitor.h>

Inheritance diagram for sofa::simulation::MechanicalVAvailVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 MechanicalVAvailVisitor (VecId &v)
virtual Result fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *mm)
 Process the BaseMechanicalState if it is not mapped from the parent level.
virtual bool isThreadSafe () const
 Specify whether this action can be parallelized.

Data Fields

VecId & v

Detailed Description

Find the first available index for a VecId.

Definition at line 183 of file MechanicalVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::MechanicalVAvailVisitor::MechanicalVAvailVisitor ( VecId &  v  )  [inline]

Definition at line 187 of file MechanicalVisitor.h.


Member Function Documentation

Visitor::Result sofa::simulation::MechanicalVAvailVisitor::fwdMechanicalState ( simulation::Node *  ,
core::componentmodel::behavior::BaseMechanicalState *   
) [virtual]

Process the BaseMechanicalState if it is not mapped from the parent level.

Reimplemented from sofa::simulation::MechanicalVisitor.

Definition at line 145 of file MechanicalVisitor.cpp.

References sofa::simulation::Visitor::RESULT_CONTINUE, v, and sofa::core::componentmodel::behavior::BaseMechanicalState::vAvail().

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

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 192 of file MechanicalVisitor.h.


Field Documentation

Definition at line 186 of file MechanicalVisitor.h.

Referenced by fwdMechanicalState().


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

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