PPI: Add optional template arg for packet type to connectors
[senf.git] / PPI / predecl.hh
index 92dd000..ed2c8d8 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
 #define HH_predecl_ 1
 
 // Custom includes
-#include <boost/type_traits.hpp>
 
 //#include "predecl.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
 
 namespace senf {
+
+    class Packet;
+
 namespace ppi {
 
     class EventDescriptor;
     template <class EventType=void> class EventImplementation;
     class EventManager;
     class RouteBase;
+    class ForwardingRoute;
     template <class Source, class Target> class Route;
     class QueueingDiscipline;
+    class ModuleManager;
+
+#ifndef DOXYGEN
 
     namespace detail {
         class EventBindingBase;
         template <class EvImpl> class EventBinding;
         template <class EventType> struct EventArgType;
-        template <bool srcEvent, bool trgEvent> class RouteImplementation;
+        class NonForwardingRouteImplementation;
+        class NonForwardingRouteToEventImplementation;
+        class NonForwardingRouteFromEventImplementation;
+        class ForwardForwardingRouteImplementation;
+        class BackwardForwardingRouteImplementation;
+        class ForwardForwardingRouteToEventImplementation;
+        class BackwardForwardingRouteFromEventImplementation;
+        template <class Source, class Target>
+            class RouteImplementation;
     }
 
+#endif
+
     namespace module {       
         class Module;       
         namespace detail {
             template <class Source, class Target> class RouteHelper;
         }
+        class PassiveJoin;
+        class PriorityJoin;
     }
 
     namespace connector {
@@ -62,10 +80,24 @@ namespace ppi {
         class PassiveConnector;
         class InputConnector;
         class OutputConnector;
-        class ActiveInput;
-        class ActiveOutput;
-        class PassiveInput;
-        class PassiveOutput;
+        class GenericActiveInput;
+        class GenericActiveOutput;
+        class GenericPassiveInput;
+        class GenericPassiveOutput;
+        template <class PacketType=Packet> class PassiveInput;
+        template <class PacketType=Packet> class PassiveOutput;
+        template <class PacketType=Packet> class ActiveInput;
+        template <class PacketType=Packet> class ActiveOutput;
+
+#ifndef DOXYGEN
+
+        namespace detail {
+            template <class Self, class PacketType> class TypedInputMixin;
+            template <class Self, class PacketType> class TypedOutputMixin;
+        }
+
+#endif
+
     }
 
 }}