X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FCloneSource.hh;h=3ce6089484be52c7060355edbd79eb5ca18dc15c;hb=c45c112ae88196ea8da9c5a9efb0e167196744d2;hp=1c5535e6413ee17381b6b872db71ff6c433dfebb;hpb=e8b91aa6a817af6d9a3714e7b66be6c0d6b0a4e5;p=senf.git diff --git a/PPI/CloneSource.hh b/PPI/CloneSource.hh index 1c5535e..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,11 +23,11 @@ /** \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" +#include "../Packets/Packets.hh" #include "Module.hh" #include "Connectors.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();