X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FQueueing.hh;h=5ed6a9ff855923dd86603f152b306220350933b0;hb=bd9f9d3fd6fbcff0112a7bf48ab9284da9576b11;hp=2420e55df669429574de3d12cfc3778dfbbff492;hpb=58e527462abb46e321c94fda65f758b67ac3aef2;p=senf.git diff --git a/PPI/Queueing.hh b/PPI/Queueing.hh index 2420e55..5ed6a9f 100644 --- a/PPI/Queueing.hh +++ b/PPI/Queueing.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// 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 @@ -23,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" @@ -59,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 @@ -84,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_;