18 #ifndef EQFABRIC_LEAFVISITOR_H 19 #define EQFABRIC_LEAFVISITOR_H 21 #include <eq/fabric/types.h> 37 virtual VisitorResult
visit(T* leaf)
39 return visit(static_cast<const T*>(leaf));
43 virtual VisitorResult
visit(
const T*) {
return TRAVERSE_CONTINUE; }
47 #endif // EQFABRIC_LEAFVISITOR_H LeafVisitor()
Constructs a new leaf visitor.
A visitor to traverse leaf nodes of a graph.
virtual ~LeafVisitor()
Destruct the leaf visitor.
The Equalizer client library.
virtual VisitorResult visit(const T *)
Visit a leaf node during a const traversal.
virtual VisitorResult visit(T *leaf)
Visit a leaf node.