Equalizer  1.9.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eq::fabric::ElementVisitor< T, C > Class Template Reference

A visitor to traverse non-leaf elements and their children in a tree. More...

#include <elementVisitor.h>

+ Inheritance diagram for eq::fabric::ElementVisitor< T, C >:
+ Collaboration diagram for eq::fabric::ElementVisitor< T, C >:

Public Member Functions

 ElementVisitor ()
 Construct a new visitor. More...
 
virtual ~ElementVisitor ()
 Destruct the visitor. More...
 
virtual VisitorResult visitPre (T *element)
 Visit an element on the down traversal. More...
 
virtual VisitorResult visitPost (T *element)
 Visit an element on the up traversal. More...
 
virtual VisitorResult visitPre (const T *)
 Visit an element on a const down traversal. More...
 
virtual VisitorResult visitPost (const T *)
 Visit an element on a const up traversal. More...
 

Detailed Description

template<class T, class C>
class eq::fabric::ElementVisitor< T, C >

A visitor to traverse non-leaf elements and their children in a tree.

Definition at line 31 of file elementVisitor.h.

Constructor & Destructor Documentation

template<class T , class C >
eq::fabric::ElementVisitor< T, C >::ElementVisitor ( )
inline

Construct a new visitor.

Definition at line 35 of file elementVisitor.h.

template<class T , class C >
virtual eq::fabric::ElementVisitor< T, C >::~ElementVisitor ( )
inlinevirtual

Destruct the visitor.

Definition at line 38 of file elementVisitor.h.

Member Function Documentation

template<class T , class C >
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPost ( T *  element)
inlinevirtual

Visit an element on the up traversal.

Definition at line 45 of file elementVisitor.h.

template<class T , class C >
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPost ( const T *  )
inlinevirtual

Visit an element on a const up traversal.

Definition at line 53 of file elementVisitor.h.

template<class T , class C >
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPre ( T *  element)
inlinevirtual

Visit an element on the down traversal.

Definition at line 41 of file elementVisitor.h.

template<class T , class C >
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPre ( const T *  )
inlinevirtual

Visit an element on a const down traversal.

Definition at line 49 of file elementVisitor.h.


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