#include <uwmulti-multiphy-controller.h>
◆ PriorityMap() [1/2]
PriorityMap::PriorityMap |
( |
| ) |
|
◆ PriorityMap() [2/2]
PriorityMap::PriorityMap |
( |
int |
debug_ | ) |
|
◆ addCustomPriority()
Set MAC priority for packets coming from a specific traffic type.
- Parameters
-
c | local APP -> local MAC connection |
priority | priority, integer from -1 (minimum) to MAX_INT (maximum) |
Definition at line 60 of file uwmulti-multiphy-controller.cpp.
◆ getPriority()
Get priority of a certain MAC for packets of given traffic type (using default priority if a custom one is not set)
- Parameters
-
c | local APP -> local MAC connection |
- Returns
- number, bigger as more prioritary
Definition at line 70 of file uwmulti-multiphy-controller.cpp.
◆ setDefaultPriority()
void PriorityMap::setDefaultPriority |
( |
int |
macID, |
|
|
int |
priority |
|
) |
| |
Set MAC default priority regardless of origin traffic type.
- Parameters
-
macID | MAC module ID |
priority | priority, integer from -1 (minimum) to MAX_INT (maximum) |
Definition at line 65 of file uwmulti-multiphy-controller.cpp.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
, |
|
|
const PriorityMap & |
|
|
) |
| |
|
friend |
◆ customPriorities
◆ debug_
◆ defaultPriorities
std::map<int, int> PriorityMap::defaultPriorities |
|
private |
The documentation for this class was generated from the following files: