// $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>
// Custom includes
#include <boost/function.hpp>
-#include <boost/intrusive/ilist_hook.hpp>
+#include <senf/boost_intrusive/ilist_hook.hpp>
#include "FIFORunner.hh"
//#include "EventHook.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
namespace scheduler {
public detail::EventHookListBase
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
// Types
typedef boost::function<void ()> Callback;
static Priority const PRE = PRIORITY_HIGH; ///< Execute hook BEFORE all other events
static Priority const POST = PRIORITY_LOW; ///< Execute hook AFTER all other events
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
EventHook(std::string const & name, Callback const & cb,
Priority priority, bool initiallyEnabled = true);
informational)
\param[in] cb Callback to call
\param[in] initiallyEnabled if set \c false, do not
- enable callback automatically.
+ enable callback automatically.
\param[in] priority event priority, defaults to
POST */
~EventHook();
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-////////////////////////////////////////////////////////////////////////
void disable(); ///< Disable event
void enable(); ///< Enable event
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "EventHook.cci"
//#include "EventHook.ct"
//#include "EventHook.cti"