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. 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... | |
This class stores the pair of TIDs of an Access Category.
Definition at line 126 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 54 of file qos-utils.cc.
uint8_t ns3::WifiAc::GetHighTid | ( | ) | const |
Get the TID with higher priority.
Definition at line 67 of file qos-utils.cc.
References m_highTid.
uint8_t ns3::WifiAc::GetLowTid | ( | ) | const |
Get the TID with lower priority.
Definition at line 61 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 73 of file qos-utils.cc.
References m_highTid, m_lowTid, and NS_ABORT_MSG.
|
private |
the TID with higher priority
Definition at line 158 of file qos-utils.h.
Referenced by GetHighTid(), and GetOtherTid().
|
private |
the TID with lower priority
Definition at line 157 of file qos-utils.h.
Referenced by GetLowTid(), and GetOtherTid().