Definition of priority for container queues that can be specialized by subclasses by providing the type of the priority field. More...
#include "wifi-mac-queue-scheduler-impl.h"
Public Member Functions | |
| std::weak_ordering | operator<=> (const WifiSchedPrecedence< Prio > &other) const |
| Spaceship comparison operator. | |
| bool | operator== (const WifiSchedPrecedence< Prio > &) const =default |
| Equality operator, needed because equality testing never invokes the spaceship operator and the spaceship operator is non-defaulted. | |
Public Attributes | |
| Prio | priority |
| priority | |
| WifiContainerQueueType | type |
| type of container queue | |
Definition of priority for container queues that can be specialized by subclasses by providing the type of the priority field.
This definition gives precedence to control frames over frames of the other types, and to management frames over data frames. In case multiple container queues have precedence over others, the one with the highest priority is served.
| Prio | [explicit] Priority type (must provide the spaceship operator) |
Definition at line 48 of file wifi-mac-queue-scheduler-impl.h.
| std::weak_ordering ns3::WifiSchedPrecedence< Prio >::operator<=> | ( | const WifiSchedPrecedence< Prio > & | other | ) | const |
Spaceship comparison operator.
Implementation of the templates declared above.
| other | WifiSchedPrecedence object to compare to this one |
Definition at line 362 of file wifi-mac-queue-scheduler-impl.h.
References priority, type, ns3::WIFI_CTL_QUEUE, and ns3::WIFI_MGT_QUEUE.
|
default |
Equality operator, needed because equality testing never invokes the spaceship operator and the spaceship operator is non-defaulted.
| Prio ns3::WifiSchedPrecedence< Prio >::priority |
priority
Definition at line 50 of file wifi-mac-queue-scheduler-impl.h.
Referenced by operator<=>().
| WifiContainerQueueType ns3::WifiSchedPrecedence< Prio >::type |
type of container queue
Definition at line 51 of file wifi-mac-queue-scheduler-impl.h.
Referenced by operator<=>().