X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FQueueing.hh;h=5ed6a9ff855923dd86603f152b306220350933b0;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=e4d49c8f05f2453cbe65896fe81f70ab405b4d92;hpb=e8b91aa6a817af6d9a3714e7b66be6c0d6b0a4e5;p=senf.git diff --git a/PPI/Queueing.hh b/PPI/Queueing.hh index e4d49c8..5ed6a9f 100644 --- a/PPI/Queueing.hh +++ b/PPI/Queueing.hh @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// $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_;