eq::server::CompoundVisitor Class Reference

A visitor to traverse a non-const compound tree. More...

#include <compoundVisitor.h>

Inheritance diagram for eq::server::CompoundVisitor:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CompoundVisitor ()
 Constructs a new CompoundVisitor.
virtual ~CompoundVisitor ()
 Destruct the CompoundVisitor.
virtual VisitorResult visitPre (Compound *compound)
 Visit a non-leaf compound on the down traversal.
virtual VisitorResult visitLeaf (Compound *compound)
 Visit a leaf compound.
virtual VisitorResult visitPost (Compound *compound)
 Visit a non-leaf compound on the up traversal.
virtual VisitorResult visit (Compound *compound)
 Visit every compound on the down traversal.


Detailed Description

A visitor to traverse a non-const compound tree.

Definition at line 32 of file compoundVisitor.h.


Constructor & Destructor Documentation

eq::server::CompoundVisitor::CompoundVisitor (  )  [inline]

Constructs a new CompoundVisitor.

Definition at line 36 of file compoundVisitor.h.


Member Function Documentation

virtual VisitorResult eq::server::CompoundVisitor::visitPre ( Compound compound  )  [inline, virtual]

Visit a non-leaf compound on the down traversal.

Reimplemented in eq::server::ConfigUpdateDataVisitor.

Definition at line 42 of file compoundVisitor.h.

References visit().

Here is the call graph for this function:

virtual VisitorResult eq::server::CompoundVisitor::visitLeaf ( Compound compound  )  [inline, virtual]

Visit a leaf compound.

Definition at line 45 of file compoundVisitor.h.

References visit().

Here is the call graph for this function:

virtual VisitorResult eq::server::CompoundVisitor::visitPost ( Compound compound  )  [inline, virtual]

Visit a non-leaf compound on the up traversal.

Definition at line 48 of file compoundVisitor.h.

References eq::server::TRAVERSE_CONTINUE.

virtual VisitorResult eq::server::CompoundVisitor::visit ( Compound compound  )  [inline, virtual]

Visit every compound on the down traversal.

Reimplemented in eq::server::CompoundActivateVisitor, eq::server::CompoundExitVisitor, eq::server::CompoundInitVisitor, eq::server::CompoundUpdateDataVisitor, eq::server::CompoundUpdateInputVisitor, and eq::server::CompoundUpdateOutputVisitor.

Definition at line 52 of file compoundVisitor.h.

References eq::server::TRAVERSE_CONTINUE.

Referenced by visitLeaf(), and visitPre().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Mon Aug 10 18:58:45 2009 for Equalizer 0.9 by  doxygen 1.5.8