X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FCloneSource.hh;h=3ce6089484be52c7060355edbd79eb5ca18dc15c;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=1ca4e4e46a59a2f0916cc0f6c0b87c0c32fac427;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/PPI/CloneSource.hh b/PPI/CloneSource.hh index 1ca4e4e..3ce6089 100644 --- a/PPI/CloneSource.hh +++ b/PPI/CloneSource.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 CloneSource public header */ -#ifndef HH_CloneSource_ -#define HH_CloneSource_ 1 +#ifndef HH_SENF_PPI_CloneSource_ +#define HH_SENF_PPI_CloneSource_ 1 // Custom includes #include "../Packets/Packets.hh" @@ -42,7 +42,7 @@ namespace module { CloneSource will provide clone's of a template \a packet on it's \a output. - \ingroup sourcesink_modules + \ingroup io_modules */ class CloneSource : public Module @@ -50,9 +50,10 @@ namespace module { SENF_PPI_MODULE(CloneSource); public: - connector::PassiveOutput output; + connector::PassiveOutput<> output; - CloneSource(senf::Packet packet); + CloneSource(senf::Packet const & packet); + void replacePacket(senf::Packet const & packet); private: void request();