A Discrete-Event Network Simulator
API
ns3::WifiMacQueueElem Struct Reference

Type of elements stored in a WifiMacQueue container. More...

#include "wifi-mac-queue-elem.h"

+ Collaboration diagram for ns3::WifiMacQueueElem:

Public Member Functions

 WifiMacQueueElem (Ptr< WifiMpdu > item)
 Constructor. More...
 
 ~WifiMacQueueElem ()
 

Public Attributes

AcIndex ac
 the Access Category associated with the queue storing this element (set by WifiMacQueue) More...
 
Callback< void, Ptr< WifiMpdu > > deleter
 reset the iterator stored by the MPDU More...
 
bool expired
 whether this MPDU has been marked as expired More...
 
Time expiryTime
 expiry time of the MPDU (set by WifiMacQueue) More...
 
Ptr< WifiMpdumpdu
 MPDU stored by this element. More...
 

Detailed Description

Type of elements stored in a WifiMacQueue container.

Such elements can be accessed by the WifiMacQueue (via iterators) and by the WifiMpdu itself (via the iterator it stores).

Definition at line 40 of file wifi-mac-queue-elem.h.

Constructor & Destructor Documentation

◆ WifiMacQueueElem()

ns3::WifiMacQueueElem::WifiMacQueueElem ( Ptr< WifiMpdu item)

Constructor.

Parameters
itemthe MPDU stored by this queue element

Definition at line 27 of file wifi-mac-queue-elem.cc.

◆ ~WifiMacQueueElem()

ns3::WifiMacQueueElem::~WifiMacQueueElem ( )

Definition at line 35 of file wifi-mac-queue-elem.cc.

References deleter, and mpdu.

Member Data Documentation

◆ ac

AcIndex ns3::WifiMacQueueElem::ac

the Access Category associated with the queue storing this element (set by WifiMacQueue)

Definition at line 44 of file wifi-mac-queue-elem.h.

◆ deleter

Callback<void, Ptr<WifiMpdu> > ns3::WifiMacQueueElem::deleter

reset the iterator stored by the MPDU

Definition at line 47 of file wifi-mac-queue-elem.h.

Referenced by ~WifiMacQueueElem().

◆ expired

bool ns3::WifiMacQueueElem::expired

whether this MPDU has been marked as expired

Definition at line 46 of file wifi-mac-queue-elem.h.

◆ expiryTime

Time ns3::WifiMacQueueElem::expiryTime

expiry time of the MPDU (set by WifiMacQueue)

Definition at line 43 of file wifi-mac-queue-elem.h.

◆ mpdu

Ptr<WifiMpdu> ns3::WifiMacQueueElem::mpdu

MPDU stored by this element.

Definition at line 42 of file wifi-mac-queue-elem.h.

Referenced by ~WifiMacQueueElem().


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