Kaydet (Commit) b171f73c authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS configrefactor01 (1.5.42); FILE MERGED

2007/01/11 10:35:30 mmeeks 1.5.42.1: Submitted by: mmeeks

Large scale re-factoring, remove fine-grained locking in favor of a simple,
single global lock (still in progress).
Identify and fix various hot-spots.
Remove otherwise empty / non-compiled files.
Kill UpdateAccessor
üst 53c97d48
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: nodevisitor.hxx,v $ * $RCSfile: nodevisitor.hxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: hr $ $Date: 2006-06-19 23:24:01 $ * last change: $Author: ihi $ $Date: 2007-11-23 14:22:07 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -36,13 +36,15 @@ ...@@ -36,13 +36,15 @@
#ifndef CONFIGMGR_NODEVISITOR_HXX #ifndef CONFIGMGR_NODEVISITOR_HXX
#define CONFIGMGR_NODEVISITOR_HXX #define CONFIGMGR_NODEVISITOR_HXX
#include "nodeaccess.hxx"
namespace configmgr namespace configmgr
{ {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
namespace data namespace data
{ {
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
class NodeAccessRef; // class NodeAccess;
class ValueNodeAccess; class ValueNodeAccess;
class GroupNodeAccess; class GroupNodeAccess;
class SetNodeAccess; class SetNodeAccess;
...@@ -65,11 +67,11 @@ namespace configmgr ...@@ -65,11 +67,11 @@ namespace configmgr
Result visitChildren(GroupNodeAccess const& _aNode); Result visitChildren(GroupNodeAccess const& _aNode);
/// dispatch to <var>aNode</var> as the proper type /// dispatch to <var>aNode</var> as the proper type
Result visitNode(NodeAccessRef const& _aNode); Result visitNode(NodeAccess const& _aNode);
protected: protected:
/// do the operation on <var>aNode</var>. Default implementation returns CONTINUE. /// do the operation on <var>aNode</var>. Default implementation returns CONTINUE.
virtual Result handle(NodeAccessRef const& _aNode); virtual Result handle(NodeAccess const& _aNode);
/// do the operation on <var>aNode</var>. Default implementation calls handle(NodeAccess(_aNode)); /// do the operation on <var>aNode</var>. Default implementation calls handle(NodeAccess(_aNode));
virtual Result handle(ValueNodeAccess const& _aNode); virtual Result handle(ValueNodeAccess const& _aNode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment