X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FCloneSource.hh;h=3ce6089484be52c7060355edbd79eb5ca18dc15c;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=8f34b1ff19b907c69981343ea0b420a6c9f76319;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/CloneSource.hh b/PPI/CloneSource.hh index 8f34b1f..3ce6089 100644 --- a/PPI/CloneSource.hh +++ b/PPI/CloneSource.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 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" @@ -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();