X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FDataPacket.cc;h=3aba8ee45e3045e9de8bf605a5cce05ff6888ba9;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=91e80cfb385a368b83d3bf31807ad80f8b6550d3;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/DataPacket.cc b/Packets/DataPacket.cc index 91e80cf..3aba8ee 100644 --- a/Packets/DataPacket.cc +++ b/Packets/DataPacket.cc @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2008 +// 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 // it under the terms of the GNU General Public License as published by @@ -20,35 +20,34 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of non-inline non-template functions +/** \file + \brief DataPacket non-inline non-template implementation */ -#include "DataPacket.hh" +#include "Packets.hh" //#include "DataPacket.ih" // Custom includes +//#include "DataPacket.mpp" #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -prefix_ void satcom::pkf::DataPacket::v_nextInterpreter() - const -{} - -prefix_ void satcom::pkf::DataPacket::v_finalize() -{} - -prefix_ void satcom::pkf::DataPacket::v_dump(std::ostream & os) - const +prefix_ void senf::DataPacketType::dump(packet p, std::ostream & os) { - os << "Payload:\n" - << " size : " << size() << "\n"; + os << "Payload data (" << p.size() << " bytes)\n"; } ///////////////////////////////cc.e//////////////////////////////////////// #undef prefix_ +//#include "DataPacket.mpp" // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// comment-column: 40 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" // End: