EMANE  1.2.1
EMANE::Models::TDMA::QueueStatusPublisher Class Reference

Queue statistic and statistic table status publisher. More...

#include <queuestatuspublisher.h>

Public Types

enum  DropReason { DropReason::DROP_OVERFLOW, DropReason::DROP_TOOBIG }
 

Public Member Functions

 QueueStatusPublisher ()
 
void registerStatistics (StatisticRegistrar &registrar)
 
void drop (std::uint8_t u8Queue, DropReason reason, size_t count)
 
void dequeue (std::uint8_t u8RequestQueue, std::uint8_t u8ActualQueue, const MessageComponents &components)
 
void enqueue (std::uint8_t u8Queue)
 

Detailed Description

Queue statistic and statistic table status publisher.

Definition at line 54 of file queuestatuspublisher.h.

Member Enumeration Documentation

◆ DropReason

Enumerator
DROP_OVERFLOW 
DROP_TOOBIG 

Definition at line 59 of file queuestatuspublisher.h.

Constructor & Destructor Documentation

◆ QueueStatusPublisher()

EMANE::Models::TDMA::QueueStatusPublisher::QueueStatusPublisher ( )

Definition at line 35 of file queuestatuspublisher.cc.

Member Function Documentation

◆ dequeue()

void EMANE::Models::TDMA::QueueStatusPublisher::dequeue ( std::uint8_t  u8RequestQueue,
std::uint8_t  u8ActualQueue,
const MessageComponents components 
)

Definition at line 143 of file queuestatuspublisher.cc.

◆ drop()

void EMANE::Models::TDMA::QueueStatusPublisher::drop ( std::uint8_t  u8Queue,
DropReason  reason,
size_t  count 
)

Definition at line 119 of file queuestatuspublisher.cc.

◆ enqueue()

void EMANE::Models::TDMA::QueueStatusPublisher::enqueue ( std::uint8_t  u8Queue)

Definition at line 214 of file queuestatuspublisher.cc.

◆ registerStatistics()

void EMANE::Models::TDMA::QueueStatusPublisher::registerStatistics ( StatisticRegistrar registrar)

Definition at line 41 of file queuestatuspublisher.cc.


The documentation for this class was generated from the following files: