X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FEvents.cci;h=1e50eb73390c91230693848416ed56d6df75d299;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=600fc37c8ae7690580bc23d898be4191eb2bb856;hpb=550a30f99f2edbe72434c1b5f2a225320d0ef4ca;p=senf.git diff --git a/PPI/Events.cci b/PPI/Events.cci index 600fc37..1e50eb7 100644 --- a/PPI/Events.cci +++ b/PPI/Events.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,7 +24,7 @@ \brief Events inline non-template implementation */ // Custom includes -#include +#include <../Utils/senfassert.hh> #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// @@ -40,16 +40,6 @@ prefix_ bool senf::ppi::EventDescriptor::enabled() return enabled_; } -prefix_ void senf::ppi::EventDescriptor::enabled(bool v) -{ - BOOST_ASSERT(v_isRegistered()); - if (v && ! enabled_) - v_enable(); - else if (! v && enabled_) - v_disable(); - enabled_ = v; -} - //////////////////////////////////////// // protected members