Add '_templates/Example.test.cc' template and support double-extensions in '_template...
[senf.git] / PPI / Setup.cci
index f14f33b..10fca25 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
 /** \file
     \brief Setup inline non-template implementation */
 
+//#include "Setup.ih"
+
 // Custom includes
 #include "Connectors.hh"
-#include "Scheduler/Scheduler.hh"
+#include "ModuleManager.hh"
 
 #define prefix_ inline
 ///////////////////////////////cci.p///////////////////////////////////////
 
+#ifndef DOXYGEN
+
 prefix_ void senf::ppi::connect(connector::ActiveOutput & source,
                                 connector::PassiveInput & target)
 {
@@ -44,9 +48,16 @@ prefix_ void senf::ppi::connect(connector::PassiveOutput & source,
 
 prefix_ void senf::ppi::run()
 {
-    Scheduler::instance().process();
+    ModuleManager::instance().run();
+}
+
+prefix_ void senf::ppi::init()
+{
+    ModuleManager::instance().init();
 }
 
+#endif
+
 ///////////////////////////////cci.e///////////////////////////////////////
 #undef prefix_