// $Id$
//
-// Copyright (C) 2008
+// Copyright (C) 2008
// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
#include <boost/utility.hpp>
#include <boost/intrusive_ptr.hpp>
#include "Executor.hh"
-#include "../../Utils/intrusive_refcount.hh"
-#include "../../Utils/DiscardStream.hh"
+#include <senf/Utils/intrusive_refcount.hh>
+#include <senf/Utils/DiscardStream.hh>
///////////////////////////////ih.p////////////////////////////////////////
namespace detail {
/** \brief Internal: Executor wrapper implementing restricted execution
-
+
A RestrictedExecutor will only process commands which a re children of a given node. It does
\e not follow any links.
*/
void execute(std::ostream & output, ParseCommandInfo const & command);
///< Execute command
- /**< Output will be written to \a output.
+ /**< Output will be written to \a output.
Same as operator()(). */
void operator()(std::ostream & output, ParseCommandInfo const & command);
///< Execute command
- /**< Output will be written to \a output.
+ /**< Output will be written to \a output.
Same as execute(). */
GenericNode & getNode(ParseCommandInfo const & command);
};
/** \brief Internal: Set restricted node of a RestrictedExecutor
-
+
A RestrictGuard will set the node to which to restrict. It will automatically reset the node
in it's destructor.
*/