Fix documentation build under maverick (doxygen 1.7.1)
[senf.git] / senf / PPI / Route.hh
index fb29305..2e20140 100644 (file)
@@ -31,7 +31,7 @@
 #include "predecl.hh"
 
 //#include "Route.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 namespace senf {
 namespace ppi {
@@ -57,10 +57,18 @@ namespace ppi {
                                              class is internal and not documented. */
 #endif
 
+        bool hasConnector(connector::Connector const & conn) const;
+                                        ///< \c true, if route has connector \a conn
+        bool hasEvent(EventDescriptor const & event) const;
+                                        ///< \c true, if route has event \a event
+
     protected:
         RouteBase(module::Module & module);
 
     private:
+        virtual bool v_hasConnector(connector::Connector const & conn) const = 0;
+        virtual bool v_hasEvent(EventDescriptor const & event) const = 0;
+
         module::Module * module_;
     };
 
@@ -80,7 +88,7 @@ namespace ppi {
                                              forwarded from active to passive connectors. This may
                                              be disabled by setting the authoThrottling state to \c
                                              false.
-                                             
+
                                              Routing from/to an event to/from a passive connector
                                              will automatically create throttling notifications on
                                              the connector whenever the event is disabled. Routing
@@ -94,12 +102,13 @@ namespace ppi {
                                         /**< This member checks only the automatic throttling
                                              state. If autoThrottling() is \c false, this member
                                              will always return \c false. */
-        
+
     protected:
         ForwardingRoute(module::Module & module);
 
         // Called to register this route with the connectors forwarding information base
         template <class T> void registerRoute(T & ob);
+        template <class T> void unregisterRoute(T & ob);
 
         template <class T> void notifyThrottle(T & ob);
         template <class T> void notifyUnthrottle(T & ob);
@@ -128,7 +137,7 @@ namespace senf {
 namespace ppi {
 
     /** \brief Route descriptor
-        
+
         Route instances are created by Module::route statements. The Route class provides an
         interface to manipulate the flow processing.
 
@@ -149,7 +158,7 @@ namespace ppi {
     private:
         typedef detail::RouteImplementation<Source,Target> Base;
         typedef detail::RouteImplementation<Source,Target> Implementation;
-        
+
         Route(module::Module & module, Source & source, Target & target);
 
         friend class module::Module;
@@ -157,7 +166,7 @@ namespace ppi {
 
 }}
 
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #include "Route.cci"
 #include "Route.ct"
 #include "Route.cti"