Stefan doesn't like MPEG_DVBBundle; renamed to MPEGDVBBundle ;)
tho [Fri, 20 Jul 2007 10:03:44 +0000 (10:03 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@327 270642c3-0616-0410-b53a-bc976706d245

Examples/DVBdec/MPEdec.cc
Examples/DVBdec/SConscript
Examples/DVBdec/ULEdec.cc
Packets/MPEGDVBBundle/DSMCCSection.cc [moved from Packets/MPEG_DVBBundle/DSMCCSection.cc with 97% similarity]
Packets/MPEGDVBBundle/DSMCCSection.hh [moved from Packets/MPEG_DVBBundle/DSMCCSection.hh with 100% similarity]
Packets/MPEGDVBBundle/DatagramSection.cc [moved from Packets/MPEG_DVBBundle/DatagramSection.cc with 97% similarity]
Packets/MPEGDVBBundle/DatagramSection.hh [moved from Packets/MPEG_DVBBundle/DatagramSection.hh with 98% similarity]
Packets/MPEGDVBBundle/Doxyfile [moved from Packets/MPEG_DVBBundle/Doxyfile with 65% similarity]
Packets/MPEGDVBBundle/SConscript [moved from Packets/MPEG_DVBBundle/SConscript with 70% similarity]

index 278cb75..372e7be 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "Scheduler/Scheduler.hh"
 #include "Packets/DefaultBundle/EthernetPacket.hh"
-#include "Packets/MPEG_DVBBundle/DatagramSection.hh"
+#include "Packets/MPEGDVBBundle/DatagramSection.hh"
 #include "Utils/membind.hh"
 #include "Socket/DVBDemuxHandles.hh"
 #include "Packets/ParseInt.hh"
index 5f69e84..f18f7dd 100644 (file)
@@ -5,8 +5,8 @@ import SENFSCons
 
 SENFSCons.Binary(env, 'uledec', 'ULEdec.cc',
                  LIBS = [ 'Scheduler', 'Packets', 'Socket', 'Utils' ],
-                 OBJECTS = [ '#/Packets/MPEG_DVBBundle/MPEG_DVBBundle.o' ]);
+                 OBJECTS = [ '#/Packets/MPEGDVBBundle/MPEGDVBBundle.o' ]);
 
 SENFSCons.Binary(env, 'mpedec', 'MPEdec.cc',
                  LIBS = [ 'Scheduler', 'Packets', 'Socket', 'Utils' ],
-                 OBJECTS = [ '#/Packets/MPEG_DVBBundle/MPEG_DVBBundle.o' ]);
+                 OBJECTS = [ '#/Packets/MPEGDVBBundle/MPEGDVBBundle.o' ]);
index 6c23a56..b41c3a8 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "Scheduler/Scheduler.hh"
 #include "Packets/DefaultBundle/EthernetPacket.hh"
-#include "Packets/MPEG_DVBBundle/DatagramSection.hh"
+#include "Packets/MPEGDVBBundle/DatagramSection.hh"
 #include "Utils/membind.hh"
 #include "Socket/DVBDemuxHandles.hh"
 #include "Packets/ParseInt.hh"
similarity index 97%
rename from Packets/MPEG_DVBBundle/DSMCCSection.cc
rename to Packets/MPEGDVBBundle/DSMCCSection.cc
index e3e333e..f34ed91 100644 (file)
@@ -60,12 +60,12 @@ prefix_ void senf::DSMCCSectionType::dump(packet p, std::ostream & os)
 
 prefix_ senf::PacketParserBase::size_type senf::DSMCCSectionType::initSize()
 {
-    return initHeadSize() + 32/8;
+    return parser::fixed_bytes + 32/8;
 }
 
 prefix_ senf::PacketParserBase::size_type senf::DSMCCSectionType::initHeadSize()
 {
-    return (8+1+1+2+12+16+2+5+1+8+8) / 8;
+    return parser::fixed_bytes;
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////
similarity index 97%
rename from Packets/MPEG_DVBBundle/DatagramSection.cc
rename to Packets/MPEGDVBBundle/DatagramSection.cc
index d46ab2b..d25f515 100644 (file)
@@ -67,12 +67,12 @@ prefix_ void senf::DatagramSectionType::dump(packet p, std::ostream & os)
 
 prefix_ senf::PacketParserBase::size_type senf::DatagramSectionType::initSize()
 {
-    return initHeadSize() + 32/8;
+    return parser::fixed_bytes + 32/8;
 }
 
 prefix_ senf::PacketParserBase::size_type senf::DatagramSectionType::initHeadSize()
 {
-    return (8+1+1+2+12+8+8+2+2+2+1+1+8+8+8+8+8+8) / 8;
+    return parser::fixed_bytes;
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////
similarity index 98%
rename from Packets/MPEG_DVBBundle/DatagramSection.hh
rename to Packets/MPEGDVBBundle/DatagramSection.hh
index d9d5b4f..7022709 100644 (file)
@@ -29,7 +29,7 @@
 #include "Packets/ParseInt.hh"
 #include "Packets/PacketRegistry.hh"
 #include "Packets/PacketParser.hh"
-#include "Packets/MPEG_DVBBundle/DSMCCSection.hh"
+#include "Packets/MPEGDVBBundle/DSMCCSection.hh"
 
 
 //#include "DatagramSection.mpp"
similarity index 65%
rename from Packets/MPEG_DVBBundle/Doxyfile
rename to Packets/MPEGDVBBundle/Doxyfile
index 1727026..9e3a960 100644 (file)
@@ -1,6 +1,6 @@
 @INCLUDE         = "$(TOPDIR)/doclib/Doxyfile.global"
 
-PROJECT_NAME     = libPackets/MPEG_DVBBundle
+PROJECT_NAME     = libPackets/MPEGDVBBundle
 TAGFILES         = "$(TOPDIR)/Utils/doc/Utils.tag" "$(TOPDIR)/Packets/doc/Packets.tag"
-GENERATE_TAGFILE = doc/MPEG_DVBBundle.tag
+GENERATE_TAGFILE = doc/MPEGDVBBundle.tag
 INPUT            = .
similarity index 70%
rename from Packets/MPEG_DVBBundle/SConscript
rename to Packets/MPEGDVBBundle/SConscript
index 57d258d..5d94e25 100644 (file)
@@ -9,9 +9,9 @@ sources = SENFSCons.GlobSources()
 
 SENFSCons.StandardTargets(env)
 
-SENFSCons.Object(env, target = 'MPEG_DVBBundle', sources=sources,
+SENFSCons.Object(env, target = 'MPEGDVBBundle', sources=sources,
                  LIBS = ['Packets', 'Socket', 'Utils'])
-SENFSCons.Lib(env, library = 'Packets_MPEG_DVBBundle', sources = sources[0],
+SENFSCons.Lib(env, library = 'Packets_MPEGDVBBundle', sources = sources[0],
               LIBS = ['Packets', 'Socket', 'Utils'])
                  
 SENFSCons.Doxygen(env)