X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2Fdetail%2FEventBinding.hh;h=7cbbeaf029d7e1ec0e95c4c58a696565cba985b1;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=97087c2bce26b759adc866acd4c81df631ac61cf;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/PPI/detail/EventBinding.hh b/senf/PPI/detail/EventBinding.hh index 97087c2..7cbbeaf 100644 --- a/senf/PPI/detail/EventBinding.hh +++ b/senf/PPI/detail/EventBinding.hh @@ -46,9 +46,9 @@ namespace detail { EventManager & manager() const; module::Module & module() const; - + protected: - EventBindingBase(EventManager & manager, module::Module & module, + EventBindingBase(EventManager & manager, module::Module & module, EventDescriptor & descriptor); void eventTime(ClockService::clock_type time); @@ -59,6 +59,7 @@ namespace detail { EventDescriptor * descriptor_; friend class senf::ppi::EventManager; + friend class senf::ppi::EventDescriptor; }; /** \brief Internal: Callback forwarders @@ -71,7 +72,7 @@ namespace detail { void callback(EventArg event, ClockService::clock_type time); void callback(EventArg event); - + private: Self & self(); }; @@ -84,7 +85,7 @@ namespace detail { public: void callback(ClockService::clock_type time); void callback(); - + private: Self & self(); }; @@ -94,7 +95,7 @@ namespace detail { /** \brief Internal: Association Event - Module - Handler, event type specific */ template class EventBinding - : public EventBindingBase, + : public EventBindingBase, public EventBindingHelper > { public: