svn:keywords property set
[senf.git] / PPI / Connectors.hh
index 1b299e2..c915c06 100644 (file)
@@ -48,9 +48,7 @@
 
 namespace senf {
 namespace ppi {
-
-    ///@{
-    ///\addtogroup connectors
+namespace connector {
 
     /** \brief Connector baseclass
 
@@ -137,7 +135,7 @@ namespace ppi {
     {
     public:
         template <class Handler>
-        void onThrottle(Handler);       ///< Register throttle notification handler
+        void onThrottle(Handler handle); ///< Register throttle notification handler
                                         /**< The handler register here will be called, whenever a
                                              throttle notification comes in. The \a handler argument
                                              is either an arbitrary callable object or it is a
@@ -145,11 +143,11 @@ namespace ppi {
                                              this input. In the second case, the pointer will
                                              automatically be bound to the containing instance.
 
-                                             \param[in] handler Handler to call on throttle
+                                             \param[in] handle Handler to call on throttle
                                                  notifications. */
 
         template <class Handler>
-        void onUnthrottle(Handler);     ///< Register unthrottle notification handler
+        void onUnthrottle(Handler handle); ///< Register unthrottle notification handler
                                         /**< The handler register here will be called, whenever an
                                              unthrottle notification comes in. The \a handler
                                              argument is either an arbitrary callable object or it
@@ -157,7 +155,7 @@ namespace ppi {
                                              holds this input. In the second case, the pointer will
                                              automatically be bound to the containing instance.
 
-                                             \param[in] handler Handler to call on unthrottle
+                                             \param[in] handle Handler to call on unthrottle
                                                  notifications. */
 
         PassiveConnector & peer();
@@ -206,7 +204,7 @@ namespace ppi {
                                              exception is raised. */
         operator unspecified_boolean_type (); ///< Check packet availability
                                         /**< Using any input connector in a boolean context will
-                                             check, wether an input request can be fulfilled. This
+                                             check, whether an input request can be fulfilled. This
                                              is always possible if the queue is non-empty. If the
                                              input is active, it also returns when the connected
                                              passive output is not throttled so new packets can be
@@ -256,6 +254,9 @@ namespace ppi {
         PassiveConnector();
         ~PassiveConnector();
     };
+    
+    ///@{
+    ///\addtogroup connectors
 
     /** \brief Combination of PassiveConnector and InputConnector
 
@@ -263,7 +264,7 @@ namespace ppi {
         queue throttling state. This state is automatically managed by a queueing discipline. The
         standard queueing discipline is ThresholdQueueing, which throttles the connection whenever
         the queue length reaches the high threshold and unthrottles the connection when the queue
-        reaches the low threshold. The default queueing discpiline is
+        reaches the low threshold. The default queueing discipline is
         <tt>ThresholdQueueing(1,0)</tt> which will throttle the input whenever the queue is
         non-empty.
      */
@@ -298,7 +299,7 @@ namespace ppi {
     public:
         PassiveOutput & peer();
 
-        void request();                 ///< request more packets without dequeing any packet
+        void request();                 ///< request more packets without dequeuing any packet
     };
 
     /** \brief Combination of ActiveConnector and OutputConnector
@@ -312,7 +313,7 @@ namespace ppi {
 
     ///@}
 
-}}
+}}}
 
 ///////////////////////////////hh.e////////////////////////////////////////
 //#include "Conenctors.cci"
@@ -327,4 +328,6 @@ namespace ppi {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End: