23 #include "ns3/packet.h"    38     .SetGroupName(
"Network")
    76       burst->AddPacket (packet);
    91 std::list<Ptr<Packet> >
   119 std::list<Ptr<Packet> >::const_iterator
   126 std::list<Ptr<Packet> >::const_iterator
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
std::list< Ptr< Packet > > m_packets
the list of packets in the burst 
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system. 
uint32_t GetSize(void) const
Returns the the size in bytes of the packet (including the zero-filled initial payload). 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
std::list< Ptr< Packet > > GetPackets(void) const
uint32_t GetNPackets(void) const
std::list< Ptr< Packet > >::const_iterator End(void) const
Returns an iterator to the end of the burst. 
void DoDispose(void)
Destructor implementation. 
void AddPacket(Ptr< Packet > packet)
add a packet to the list of packet 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
virtual ~PacketBurst(void)
Ptr< Packet > Copy(void) const
performs a COW copy of the packet. 
static TypeId GetTypeId(void)
Get the type ID. 
std::list< Ptr< Packet > >::const_iterator Begin(void) const
Returns an iterator to the begin of the burst. 
Ptr< PacketBurst > Copy(void) const
this class implement a burst as a list of packets 
A base class which provides memory management and object aggregation. 
uint32_t GetSize(void) const
a unique identifier for an interface. 
TypeId SetParent(TypeId tid)
Set the parent TypeId.