X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FActiveFeeder.hh;h=cc2ffc16f89c3b18df568d994bf2f1b181838eb8;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=a5450505e0a2c1d5a52848b4bb90d8f0d91a3294;hpb=0327b3f303ea2a61d44a30bfaac022874dcf2a0d;p=senf.git diff --git a/PPI/ActiveFeeder.hh b/PPI/ActiveFeeder.hh index a545050..cc2ffc1 100644 --- a/PPI/ActiveFeeder.hh +++ b/PPI/ActiveFeeder.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// 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 ActiveFeeder public header */ -#ifndef HH_ActiveFeeder_ -#define HH_ActiveFeeder_ 1 +#ifndef HH_SENF_PPI_ActiveFeeder_ +#define HH_SENF_PPI_ActiveFeeder_ 1 // Custom includes #include "Module.hh" @@ -38,13 +38,24 @@ namespace senf { namespace ppi { namespace module { + /** \brief Adapter to connect passive connectors + + ActiveFeeder is an adapter module which allows two connect to passive connectors. As long as + none of the connectors is throttled, the ActiveFeeder will forward packets from it's input + to it's output. + + \note For this Module to work correctly, it is very important for the connectors to be + correctly throttled. Otherwise the system might well hang in an endless loop. + + \ingroup adapter_modules + */ class ActiveFeeder : public Module { SENF_PPI_MODULE(ActiveFeeder); public: - connector::ActiveInput input; - connector::ActiveOutput output; + connector::ActiveInput<> input; + connector::ActiveOutput<> output; ActiveFeeder();