fixes for g++ 4.5 (some members returned "the constructor, not the type")
[senf.git] / senf / PPI / Queueing.hh
index 5ed6a9f..861351a 100644 (file)
@@ -30,7 +30,7 @@
 #include "predecl.hh"
 
 //#include "Queueing.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 namespace senf {
 namespace ppi {
@@ -58,14 +58,15 @@ namespace ppi {
         virtual ~QueueingDiscipline();
 
         enum Event { ENQUEUE, DEQUEUE }; ///< Possible queueing events
-        
+        enum None_t { NONE };            ///< Type to disable the queueing discipline
+
         virtual void update(connector::GenericPassiveInput & input, Event event) = 0;
                                         ///< Calculate new queueing state
                                         /**< Whenever the queue is manipulated, this member is
                                              called to calculate the new throttling state. The
                                              member must call \a input's \c throttle() or \c
                                              unthrottle() member to set the new throttling state.
-                                             
+
                                              \param[in] input Connector holding the queue
                                              \param[in] event Type of event triggering the update */
     };
@@ -74,7 +75,7 @@ namespace ppi {
 
         The ThresholdQueueing QueueingDiscipline is a simple queueing discipline which throttles the
         input as soon the number of packets in the queue reaches the \a high threshold. The input
-        will be unthrottled when the number of packets drops to the \a low threshold. 
+        will be unthrottled when the number of packets drops to the \a low threshold.
 
         The default queueing discipline is ThresholdQueueing(1,0).
      */
@@ -93,7 +94,7 @@ namespace ppi {
 
 }}
 
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #include "Queueing.cci"
 //#include "Queueing.ct"
 //#include "Queueing.cti"