sofa::simulation::VisitorScheduler Class Reference

Abstract class defining custom schedule of action execution through the graph. More...

#include <VisitorScheduler.h>

Inheritance diagram for sofa::simulation::VisitorScheduler:

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

Collaboration graph
[legend]

Public Member Functions

virtual ~VisitorScheduler ()
virtual void executeVisitor (simulation::Node *node, Visitor *act)=0
virtual bool isMultiThreaded () const
 Specify whether this scheduler is multi-threaded.

Protected Member Functions

void doExecuteVisitor (simulation::Node *node, Visitor *act)
 Execute the given action recursively.

Detailed Description

Abstract class defining custom schedule of action execution through the graph.

Definition at line 40 of file VisitorScheduler.h.


Constructor & Destructor Documentation

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

Definition at line 43 of file VisitorScheduler.h.


Member Function Documentation

void sofa::simulation::VisitorScheduler::doExecuteVisitor ( simulation::Node *  node,
Visitor *  act 
) [protected]

Execute the given action recursively.

Definition at line 35 of file VisitorScheduler.cpp.

References sofa::simulation::Node::doExecuteVisitor().

Referenced by sofa::simulation::tree::ParallelVisitorScheduler::executeVisitor().

virtual void sofa::simulation::VisitorScheduler::executeVisitor ( simulation::Node *  node,
Visitor *  act 
) [pure virtual]

virtual bool sofa::simulation::VisitorScheduler::isMultiThreaded (  )  const [inline, virtual]

Specify whether this scheduler is multi-threaded.

Reimplemented in sofa::simulation::tree::ParallelVisitorScheduler.

Definition at line 48 of file VisitorScheduler.h.


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

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