X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketImpl.hh;h=871b9ec5948f9b377595a8e54be21b78a523f215;hb=456ee576285b76aa46240f8001f426757810dcc1;hp=614eba2184e19626fc4b68a4afd170ca99c0329a;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/Packets/PacketImpl.hh b/Packets/PacketImpl.hh index 614eba2..871b9ec 100644 --- a/Packets/PacketImpl.hh +++ b/Packets/PacketImpl.hh @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// $Id$ +// +// 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 @@ -35,9 +37,9 @@ namespace senf { namespace detail { - + /** \brief Internal: Packet data storage - + \internal This is the class holding the packet data and the interpreter chain. All manipulations of @@ -45,7 +47,7 @@ namespace detail { PacketImpl will update the interpreters (that is the vector indices stored therein) whenever the data is changed. */ - class PacketImpl + class PacketImpl : boost::noncopyable, public pool_alloc_mixin { @@ -68,7 +70,7 @@ namespace detail { ~PacketImpl(); // rerference/memory management - + void add_ref(refcount_t n=1); void release(refcount_t n=1); refcount_t refcount() const; @@ -121,14 +123,14 @@ namespace detail { interpreter_list interpreters_; void eraseInterpreters(interpreter_list::iterator b, interpreter_list::iterator e); - void updateIterators(PacketData * self, iterator pos, difference_type n); + void updateIterators(PacketData * self, difference_type pos, difference_type n); }; }} ///////////////////////////////hh.e//////////////////////////////////////// #endif -#if !defined(SENF_PACKETS_DECL_ONLY) && !defined(HH_PacketImpl_i_) +#if !defined(HH_Packets__decls_) && !defined(HH_PacketImpl_i_) #define HH_PacketImpl_i_ #include "PacketImpl.cci" //#include "PacketImpl.ct"