X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.cti;h=d603cc8ab661607b4afc612040d8f22ba5559dfd;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=c4c20fcbd2cd0c6f455eb0803ea3d7656f165348;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/PPI/DebugModules.cti b/PPI/DebugModules.cti index c4c20fc..d603cc8 100644 --- a/PPI/DebugModules.cti +++ b/PPI/DebugModules.cti @@ -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 @@ -32,23 +32,23 @@ ///////////////////////////////cti.p/////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// -// senf::ppi::module::debug::LogWriter +// senf::ppi::module::debug::LogSink -template -prefix_ senf::ppi::module::debug::LogWriter::LogWriter() +template +prefix_ senf::ppi::module::debug::LogSink::LogSink() { noroute(input); - input.onRequest(&LogWriter::request); + input.onRequest(&LogSink::request); } //////////////////////////////////////// // private members -template -prefix_ void senf::ppi::module::debug::LogWriter::request() +template +prefix_ void senf::ppi::module::debug::LogSink::request() { Packet packet (input()); - SENF_LOG_BLOCK((Stream)(Area)(level)({ + SENF_LOG_BLOCK_TPL((Stream)(Area)(Level)({ packet.dump(log); hexdump(packet.last().data().begin(), packet.last().data().end(),log); }));