A Discrete-Event Network Simulator
API
ns3::WifiAc Class Reference

This class stores the pair of TIDs of an Access Category. More...

#include "qos-utils.h"

+ Collaboration diagram for ns3::WifiAc:

Public Member Functions

 WifiAc (uint8_t lowTid, uint8_t highTid)
 Constructor. More...
 
uint8_t GetHighTid () const
 Get the TID with higher priority. More...
 
uint8_t GetLowTid () const
 Get the TID with lower priority. More...
 
uint8_t GetOtherTid (uint8_t tid) const
 Given a TID belonging to this Access Category, get the other TID of this AC. More...
 

Private Attributes

uint8_t m_highTid
 the TID with higher priority More...
 
uint8_t m_lowTid
 the TID with lower priority More...
 

Detailed Description

This class stores the pair of TIDs of an Access Category.

Definition at line 126 of file qos-utils.h.

Constructor & Destructor Documentation

◆ WifiAc()

ns3::WifiAc::WifiAc ( uint8_t  lowTid,
uint8_t  highTid 
)

Constructor.

Parameters
lowTidthe TID with lower priority
highTidthe TID with higher priority

Definition at line 54 of file qos-utils.cc.

Member Function Documentation

◆ GetHighTid()

uint8_t ns3::WifiAc::GetHighTid ( ) const

Get the TID with higher priority.

Returns
the TID with higher priority

Definition at line 67 of file qos-utils.cc.

References m_highTid.

◆ GetLowTid()

uint8_t ns3::WifiAc::GetLowTid ( ) const

Get the TID with lower priority.

Returns
the TID with lower priority

Definition at line 61 of file qos-utils.cc.

References m_lowTid.

◆ GetOtherTid()

uint8_t ns3::WifiAc::GetOtherTid ( uint8_t  tid) const

Given a TID belonging to this Access Category, get the other TID of this AC.

Parameters
tida TID belonging to this AC
Returns
the other TID belonging to this AC

Definition at line 73 of file qos-utils.cc.

References m_highTid, m_lowTid, and NS_ABORT_MSG.

Member Data Documentation

◆ m_highTid

uint8_t ns3::WifiAc::m_highTid
private

the TID with higher priority

Definition at line 158 of file qos-utils.h.

Referenced by GetHighTid(), and GetOtherTid().

◆ m_lowTid

uint8_t ns3::WifiAc::m_lowTid
private

the TID with lower priority

Definition at line 157 of file qos-utils.h.

Referenced by GetLowTid(), and GetOtherTid().


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