svn:keywords property set
[senf.git] / PPI / Module.hh
index 42616e4..30d52d9 100644 (file)
@@ -34,6 +34,7 @@
 
 namespace senf {
 namespace ppi {
+namespace module {
 
     /** \brief Module baseclass
 
@@ -78,9 +79,9 @@ namespace ppi {
                                              The return value may be used to alter routing
                                              parameters like throttling parameters.
                                              
-                                             \param[in] source Data source, object which controlls
+                                             \param[in] source Data source, object which controls
                                                  incoming data
-                                             \param[in] target Data target, object which controlls
+                                             \param[in] target Data target, object which controls
                                                  outgoing data
                                              \returns Route instance describing this route */
 
@@ -111,27 +112,14 @@ namespace ppi {
                                              may be a timer event or some type of I/O event on a
                                              file descriptor or socket.
 
-                                             \param[in] target The handler to call whenever the event
-                                                 is signaled
+                                             \param[in] target The handler to call whenever the
+                                                 event is signaled
                                              \param[in] descriptor The type of event to register */
 
-        boost::posix_time::ptime eventTime(); ///< Return timestamp of the currently processing event
+        boost::posix_time::ptime eventTime(); ///< Return timestamp of the currently processing
+                                              ///< event
     };
 
-    /** \brief Automatically manage dynamic module deallocation
-
-        The dynamicModule helper will create a new dynamically managed module instance.
-
-        The \a args template parameter is only a placeholder. All arguments to dynamicModule will be
-        passed to the Module constructor.
-
-        \implementation dynamicModule should just register the Instance in a different way with the
-            Infrastructure and return a reference to the new module.
-     */
-    template <class Module, class Args>
-    unspecified dynamicModule(Args args);
-
-
     /** \brief Connect compatible connectors
 
         connect() will connect two compatible connectors: One connector must be active, the other
@@ -140,18 +128,7 @@ namespace ppi {
     template <class Source, class Target>
     void connect(Source const & source, Target const & target);
 
-    /** \brief Connect connectors via an adaptor module
-        
-        This connect() overload will insert an additional adaptor module into the connection. The
-        Adaptor module must have two connectors, \a input and \a output. The call will setup the
-        connections \a source to \a input and \a output to \a target. Each connector pair must be
-        compatible.
-     */
-    template <class Source, class Target, class Adaptor)
-    Adaptor const &  connect(Source const & source, Target const & target, 
-                             Adaptor const & adaptor);
-
-}}
+}}}
 
 ///////////////////////////////hh.e////////////////////////////////////////
 //#include "Module.cci"
@@ -166,4 +143,6 @@ namespace ppi {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End: