This class stores the pair of TIDs of an Access Category. More...
#include "qos-utils.h"
Public Member Functions | |
WifiAc (uint8_t lowTid, uint8_t highTid) | |
Constructor. | |
uint8_t | GetHighTid () const |
Get the TID with higher priority. | |
uint8_t | GetLowTid () const |
Get the TID with lower priority. | |
uint8_t | GetOtherTid (uint8_t tid) const |
Given a TID belonging to this Access Category, get the other TID of this AC. | |
Private Attributes | |
uint8_t | m_highTid |
the TID with higher priority | |
uint8_t | m_lowTid |
the TID with lower priority | |
This class stores the pair of TIDs of an Access Category.
Definition at line 115 of file qos-utils.h.
ns3::WifiAc::WifiAc | ( | uint8_t | lowTid, |
uint8_t | highTid ) |
Constructor.
lowTid | the TID with lower priority |
highTid | the TID with higher priority |
Definition at line 43 of file qos-utils.cc.
uint8_t ns3::WifiAc::GetHighTid | ( | ) | const |
Get the TID with higher priority.
Definition at line 56 of file qos-utils.cc.
References m_highTid.
uint8_t ns3::WifiAc::GetLowTid | ( | ) | const |
Get the TID with lower priority.
Definition at line 50 of file qos-utils.cc.
References m_lowTid.
uint8_t ns3::WifiAc::GetOtherTid | ( | uint8_t | tid | ) | const |
Given a TID belonging to this Access Category, get the other TID of this AC.
tid | a TID belonging to this AC |
Definition at line 62 of file qos-utils.cc.
References m_highTid, m_lowTid, and NS_ABORT_MSG.
|
private |
the TID with higher priority
Definition at line 147 of file qos-utils.h.
Referenced by GetHighTid(), and GetOtherTid().
|
private |
the TID with lower priority
Definition at line 146 of file qos-utils.h.
Referenced by GetLowTid(), and GetOtherTid().