18 #ifndef EQFABRIC_CONFIGVISITOR_H 19 #define EQFABRIC_CONFIGVISITOR_H 21 #include <eq/fabric/types.h> 23 #include <eq/fabric/elementVisitor.h> 24 #include <eq/fabric/leafVisitor.h> 27 #pragma clang diagnostic push 28 #pragma clang diagnostic ignored "-Woverloaded-virtual" 35 template <
class C,
class OV,
class LV,
class CV,
class NV>
46 return visitPre(static_cast<const C*>(config));
52 return visitPost(static_cast<const C*>(config));
56 virtual VisitorResult
visitPre(
const C*) {
return TRAVERSE_CONTINUE; }
58 virtual VisitorResult
visitPost(
const C*) {
return TRAVERSE_CONTINUE; }
63 #pragma clang diagnostic pop 64 #endif // EQFABRIC_CONFIGVISITOR_H virtual VisitorResult visitPre(const C *)
Visit a config on the down traversal.
A visitor to traverse configs and all children.
virtual ~ConfigVisitor()
Destruct this config visitor.
virtual VisitorResult visitPre(C *config)
Visit a config on the down traversal.
ConfigVisitor()
Construct a new config visitor.
virtual VisitorResult visitPost(const C *)
Visit a config on the up traversal.
The Equalizer client library.
virtual VisitorResult visitPost(C *config)
Visit a config on the up traversal.