EMANE
1.2.1
|
Downstream packet queue with both FIFO and By-Destination FIFO dequeue mechanisms. More...
#include <queue.h>
Public Member Functions | |
Queue () | |
void | initialize (std::uint16_t u16QueueDepth, bool bFragment, bool bAggregate, bool bIsControl) |
std::pair< std::unique_ptr< DownstreamPacket >, bool > | enqueue (DownstreamPacket &&pkt) |
std::tuple< MessageComponents, size_t, std::list< std::unique_ptr< DownstreamPacket > > > | dequeue (size_t requestedBytes, NEMId destination, bool bDrop) |
std::tuple< size_t, size_t > | getStatus () const |
Downstream packet queue with both FIFO and By-Destination FIFO dequeue mechanisms.
std::tuple< EMANE::Models::TDMA::MessageComponents, size_t, std::list< std::unique_ptr< EMANE::DownstreamPacket > > > EMANE::Models::TDMA::Queue::dequeue | ( | size_t | requestedBytes, |
NEMId | destination, | ||
bool | bDrop | ||
) |
std::pair< std::unique_ptr< EMANE::DownstreamPacket >, bool > EMANE::Models::TDMA::Queue::enqueue | ( | DownstreamPacket && | pkt | ) |
std::tuple< size_t, size_t > EMANE::Models::TDMA::Queue::getStatus | ( | ) | const |
void EMANE::Models::TDMA::Queue::initialize | ( | std::uint16_t | u16QueueDepth, |
bool | bFragment, | ||
bool | bAggregate, | ||
bool | bIsControl | ||
) |