X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FQueueing.hh;h=5ed6a9ff855923dd86603f152b306220350933b0;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=8985c9025ce58e1255c8f67f93b225cf745499b8;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/Queueing.hh b/PPI/Queueing.hh index 8985c90..5ed6a9f 100644 --- a/PPI/Queueing.hh +++ b/PPI/Queueing.hh @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// $Id$ +// +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -21,8 +23,8 @@ /** \file \brief Queueing public header */ -#ifndef HH_Queueing_ -#define HH_Queueing_ 1 +#ifndef HH_SENF_PPI_Queueing_ +#define HH_SENF_PPI_Queueing_ 1 // Custom includes #include "predecl.hh" @@ -57,7 +59,7 @@ namespace ppi { enum Event { ENQUEUE, DEQUEUE }; ///< Possible queueing events - virtual void update(connector::PassiveInput & input, Event event) = 0; + 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 @@ -82,7 +84,7 @@ namespace ppi { public: ThresholdQueueing(unsigned high, unsigned low); - virtual void update(connector::PassiveInput & input, Event event); + virtual void update(connector::GenericPassiveInput & input, Event event); private: unsigned high_;