X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FRoute.hh;h=7977031e3889b9cd0c290448f6125ce9c4c53c74;hb=575b110bed5e4f051b197bed884fb8999822d14e;hp=fb2930597f6d1f3d5a97950067d8c2c684aa5c22;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/PPI/Route.hh b/senf/PPI/Route.hh index fb29305..7977031 100644 --- a/senf/PPI/Route.hh +++ b/senf/PPI/Route.hh @@ -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_; }; @@ -100,6 +108,7 @@ namespace ppi { // Called to register this route with the connectors forwarding information base template void registerRoute(T & ob); + template void unregisterRoute(T & ob); template void notifyThrottle(T & ob); template void notifyUnthrottle(T & ob);