author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Fri, 11 Jul 2008 18:39:19 +0100 | |
changeset 3416 | 926ccb845111 |
parent 3183 | fc3b2e03e61e |
permissions | -rw-r--r-- |
#ifndef CHUNK_H #define CHUNK_H #include "ns3/object-base.h" #include "buffer.h" namespace ns3 { /** * \ingroup packet * * \brief abstract base class for ns3::Header and ns3::Trailer */ class Chunk : public ObjectBase { public: static TypeId GetTypeId (void); virtual uint32_t Deserialize (Buffer::Iterator start) = 0; virtual void Print (std::ostream &os) const = 0; }; } // namespace ns3 #endif /* CHUNK_H */