34 #ifndef EMANEMODELSIEEE80211ABGDOWNSTREAMQUEUE_HEADER_ 35 #define EMANEMODELSIEEE80211ABGDOWNSTREAMQUEUE_HEADER_ 48 namespace IEEE80211ABG
80 size_t getDepth(std::uint8_t u8Category);
88 std::pair<DownstreamQueueEntry, bool>
dequeue();
99 std::uint8_t numActiveCategories_;
109 #endif //EMANEMODELSIEEE80211ABGDOWNSTREAMQUEUE_HEADER_
class used to define the mac downstream packet queue
structure defines the mac downstream packet queue entry
const std::uint8_t MAX_ACCESS_CATEGORIES
size_t getDepth()
get the number of entries for all active queues
std::pair< DownstreamQueueEntry, bool > dequeue()
blocking dequeue, returns highest priority item first
void setMaxEntrySize(size_t)
set the max entry size for all queues
The StatisticRegistrar allows NEM layers to register statistics and statistic tables. Statistics and Statistic tables are owned by the emulator framework and a borrowed reference is returned to the registering NEM layer.
~DownstreamQueue()
queue destructor
size_t getAvailableSpace()
Defines an access category container.
DownstreamQueue(EMANE::NEMId id)
queue constructor
std::vector< DownstreamQueueEntry > enqueue(DownstreamQueueEntry &entry)
enqueue, inserts items by priority, signals on success.
void setMaxCapacity(size_t)
set the max number of entries for all queues
size_t getMaxCapacity()
get the max number of entries for all queues
void setCategories(std::uint8_t u8Category)
set the number of categories (queues)
void registerStatistics(StatisticRegistrar &statisticRegistrar)
size_t getNumOverFlow(bool bClear)