X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2Fdetail%2FEventBinding.cci;h=2d93c7dc4e0cc342a7c80e7ebeae9317aa4b7303;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=ad4e89e22c13470d1c933e607935554d8da883e8;hpb=81ffa1c459b96dd44472bcef37e1e373934ee138;p=senf.git diff --git a/PPI/detail/EventBinding.cci b/PPI/detail/EventBinding.cci index ad4e89e..2d93c7d 100644 --- a/PPI/detail/EventBinding.cci +++ b/PPI/detail/EventBinding.cci @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -24,6 +24,7 @@ \brief EventBinding inline non-template implementation */ // Custom includes +#include "../Events.hh" #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// @@ -31,6 +32,23 @@ /////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::EventBindingBase +prefix_ senf::ppi::detail::EventBindingBase::~EventBindingBase() +{ + descriptor_->enabled(false); +} + +prefix_ senf::ppi::EventManager & senf::ppi::detail::EventBindingBase::manager() + const +{ + return *manager_; +} + +prefix_ senf::ppi::module::Module & senf::ppi::detail::EventBindingBase::module() + const +{ + return *module_; +} + //////////////////////////////////////// // protected members @@ -51,5 +69,5 @@ prefix_ senf::ppi::detail::EventBindingBase::EventBindingBase(EventManager & man // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" -// compile-command: "scons -u test" +// compile-command: "scons -u ../test" // End: