sofa::simulation::TopologyChangeVisitor Class Reference

#include <TopologyChangeVisitor.h>

Inheritance diagram for sofa::simulation::TopologyChangeVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 TopologyChangeVisitor ()
virtual ~TopologyChangeVisitor ()
virtual void processTopologyChange (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.
const unsigned int & getNbIter ()
void resetNbIter ()
void incrNbIter ()

Protected Attributes

unsigned int nbIter
 Flag to know the number of iterations of the overloaded method processNodeTopDown.

Detailed Description

Definition at line 37 of file TopologyChangeVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::TopologyChangeVisitor::TopologyChangeVisitor (  )  [inline]

Definition at line 41 of file TopologyChangeVisitor.h.

virtual sofa::simulation::TopologyChangeVisitor::~TopologyChangeVisitor (  )  [inline, virtual]

Definition at line 45 of file TopologyChangeVisitor.h.


Member Function Documentation

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

const unsigned int& sofa::simulation::TopologyChangeVisitor::getNbIter (  )  [inline]

Definition at line 58 of file TopologyChangeVisitor.h.

References nbIter.

Referenced by processNodeTopDown().

void sofa::simulation::TopologyChangeVisitor::incrNbIter (  )  [inline]

Definition at line 62 of file TopologyChangeVisitor.h.

References nbIter.

Referenced by processNodeTopDown().

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

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 52 of file TopologyChangeVisitor.h.

Visitor::Result sofa::simulation::TopologyChangeVisitor::processNodeTopDown ( simulation::Node *   )  [virtual]

void sofa::simulation::TopologyChangeVisitor::processTopologyChange ( core::objectmodel::BaseObject *  obj  )  [virtual]

void sofa::simulation::TopologyChangeVisitor::resetNbIter (  )  [inline]

Definition at line 60 of file TopologyChangeVisitor.h.

References nbIter.


Field Documentation

Flag to know the number of iterations of the overloaded method processNodeTopDown.

Definition at line 66 of file TopologyChangeVisitor.h.

Referenced by getNbIter(), incrNbIter(), and resetNbIter().


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