Add '_templates/Example.test.cc' template and support double-extensions in '_template...
[senf.git] / PPI / Events.cci
index 8ffd90e..17f5628 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
 // Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -57,6 +57,19 @@ prefix_ senf::ppi::EventDescriptor::EventDescriptor()
     : enabled_(false)
 {}
 
+////////////////////////////////////////
+// private members
+
+prefix_ void senf::ppi::EventDescriptor::notifyThrottle()
+{
+    enabled(false);
+}
+
+prefix_ void senf::ppi::EventDescriptor::registerRoute(ForwardingRoute & route)
+{
+    routes_.push_back(&route);
+}
+
 ///////////////////////////////cci.e///////////////////////////////////////
 #undef prefix_