ns-3
ns3::PacketBurst Class Reference
Inheritance diagram for ns3::PacketBurst:
Collaboration diagram for ns3::PacketBurst:

List of all members.

Public Member Functions

Ptr< PacketBurstCopy (void) const
void AddPacket (Ptr< Packet > packet)
 add a packet to the list of packet
std::list< Ptr< Packet > > GetPackets (void) const
uint32_t GetNPackets (void) const
uint32_t GetSize (void) const
std::list< Ptr< Packet >
>::const_iterator 
Begin (void) const
std::list< Ptr< Packet >
>::const_iterator 
End (void) const

Static Public Member Functions

static TypeId GetTypeId (void)
 this class implement a burst as a list of packets

Member Function Documentation

void ns3::PacketBurst::AddPacket ( Ptr< Packet packet)

add a packet to the list of packet

Parameters:
packetthe packet to add

Referenced by ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(), Copy(), ns3::SimplePacketScheduler::DoRunPacketScheduler(), and ns3::SSScheduler::Schedule().

Ptr< PacketBurst > ns3::PacketBurst::Copy ( void  ) const
Returns:
a copy the packetBurst

References AddPacket(), and ns3::Packet::Copy().

Referenced by ns3::LteSpectrumSignalParameters::LteSpectrumSignalParameters().

std::list< Ptr< Packet > > ns3::PacketBurst::GetPackets ( void  ) const
Returns:
the list of packet of this burst
uint32_t ns3::PacketBurst::GetSize ( void  ) const
Returns:
the size of the burst in byte (the size of all packets)

References ns3::Packet::GetSize().

Referenced by ns3::SimpleOfdmWimaxPhy::Send(), ns3::SubscriberStationNetDevice::SendBurst(), and ns3::EnbLtePhy::SendPacket().

TypeId ns3::PacketBurst::GetTypeId ( void  ) [static]

this class implement a burst as a list of packets

This method returns the TypeId associated to ns3::PacketBurst.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::PacketBurst
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::PacketBurst

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().


The documentation for this class was generated from the following files: