sofa::simulation::StateChangeVisitor Class Reference

#include <StateChangeVisitor.h>

Inheritance diagram for sofa::simulation::StateChangeVisitor:

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

Collaboration graph
[legend]

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

Detailed Description

Definition at line 36 of file StateChangeVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::StateChangeVisitor::StateChangeVisitor (  ) 

Definition at line 36 of file StateChangeVisitor.cpp.


Member Function Documentation

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]


Field Documentation

Definition at line 54 of file StateChangeVisitor.h.

Referenced by processNodeTopDown().


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

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