Utils/Logger: Implement targets
[senf.git] / Packets / MPEGDVBBundle / TransportPacket.cc
index 7cb4c29..fd7a9e6 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (C) 2007
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+//     Thorsten Horstmann <thorsten.horstmann@fokus.fraunhofer.de>
 //
 // 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,7 +20,8 @@
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-// Definition of non-inline non-template functions
+/** \file
+    \brief TransportPacket non-inline non-template implementation */
 
 #include "TransportPacket.hh"
 //#include "TransportPacket.ih"
@@ -35,7 +36,7 @@ prefix_ void senf::TransportPacketType::dump(packet p, std::ostream & os)
 {
     os << "TransportPacket:\n"
        << std::hex
-       << "  syncByte: 0x" << unsigned(p->syncByte()) << "\n"
+       << "  syncByte: 0x" << unsigned(p->sync_byte()) << "\n"
        << "  transport_error_indicator: 0x" << unsigned(p->transport_error_indicator()) << "\n"
        << "  payload_unit_start_indicator (pusi): 0x" << unsigned(p->pusi()) << "\n"
        << "  transport_priority: 0x" << unsigned(p->transport_priority()) << "\n"
@@ -45,6 +46,8 @@ prefix_ void senf::TransportPacketType::dump(packet p, std::ostream & os)
        << "  transport_scrambling_control: 0x" << unsigned(p->transport_scrmbl_ctrl()) << "\n"
        << "  adaptation_field_control: 0x" << unsigned(p->adaptation_field_ctrl()) << "\n"
        << "  continuity_counter: 0x" << unsigned(p->continuity_counter()) << "\n";
+//    if (p->pusi())
+//        os << "  payload_pointer: 0x" << unsigned(p->payload_pointer()) << "\n";
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////