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
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
virtual void NotifyNewAggregate (void)
virtual void DoStart (void)
 Object (const Object &o)

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(), 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().

uint32_t ns3::PacketBurst::GetNPackets ( void  ) const
Returns:
the number of packet in the burst

Referenced by ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(), and ns3::SubscriberStationNetDevice::SendBurst().

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(), and ns3::SubscriberStationNetDevice::SendBurst().

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.

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: