RSC  0.17.1
rsc::logging::LoggerTreeNode::Visitor Class Referenceabstract

Visitor interface to operate on the tree. More...

#include <LoggerTreeNode.h>

Inheritance diagram for rsc::logging::LoggerTreeNode::Visitor:
Inheritance graph
Collaboration diagram for rsc::logging::LoggerTreeNode::Visitor:
Collaboration graph

Public Member Functions

virtual ~Visitor ()
 
virtual bool visit (const NamePath &path, LoggerTreeNodePtr node, const Logger::Level &parentLevel)=0
 Called for each node in the tree. More...
 

Detailed Description

Visitor interface to operate on the tree.

Author
jwienke

Definition at line 119 of file LoggerTreeNode.h.

Constructor & Destructor Documentation

rsc::logging::LoggerTreeNode::Visitor::~Visitor ( )
virtual

Definition at line 98 of file LoggerTreeNode.cpp.

Member Function Documentation

virtual bool rsc::logging::LoggerTreeNode::Visitor::visit ( const NamePath path,
LoggerTreeNodePtr  node,
const Logger::Level parentLevel 
)
pure virtual

Called for each node in the tree.

Parameters
pathcurrent path in the tree
nodecurrently visited node
parentLeveldirect or derived level of the parent node
Returns
to descend into this node's children, else false

Implemented in rsc::logging::LoggerFactory::ReconfigurationVisitor, rsc::logging::LoggerFactory::ReselectVisitor, and rsc::logging::TreeLevelUpdater::LevelSetter.


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