#define HH_EventBinding_ 1
// Custom includes
-#include "Scheduler/ClockService.hh"
+#include "../../Scheduler/ClockService.hh"
#include "../predecl.hh"
#include "Callback.hh"
namespace ppi {
namespace detail {
+ /** \brief Internal: Association Event - Module - Handler, base-class */
class EventBindingBase
{
public:
~EventBindingBase();
+
+ EventManager & manager() const;
+ module::Module & module() const;
protected:
EventBindingBase(EventManager & manager, module::Module & module,
friend class senf::ppi::EventManager;
};
+ /** \brief Internal: Callback forwarders
+ */
template <class EventType, class Self>
class EventBindingHelper
{
Self & self();
};
+#ifndef DOXYGEN
+
template <class Self>
class EventBindingHelper<void,Self>
{
Self & self();
};
+#endif
+
+ /** \brief Internal: Association Event - Module - Handler, event type specific */
template <class EventType>
class EventBinding
: public EventBindingBase,