Go to the documentation of this file.
28#ifndef FRONT_DROP_QUEUE_H
29#define FRONT_DROP_QUEUE_H
31#include <itpp/itexports.h>
33#if (defined(_MSC_VER) && defined(ITPP_SHARED_LIB) && !(defined(itpp_EXPORTS) || defined(itpp_debug_EXPORTS)))
35#ifndef ITPP_PROTOCOL_EXCLUDED
36#define ITPP_PROTOCOL_EXCLUDED
37#pragma message( "PROTOCOL definitions are not available for MSVC shared builds" )
53#define DEFAULT_MAX_BYTES_IN_QUEUE 24000
61 max_bytes_in_queue = max_bytes;
87 int max_bytes_in_queue;
void pop()
ADD DOCUMENTATION HERE.
int byte_size()
ADD DOCUMENTATION HERE.
void push(Packet *packet)
ADD DOCUMENTATION HERE.
Front_Drop_Queue(const int max_bytes=DEFAULT_MAX_BYTES_IN_QUEUE)
ADD DOCUMENTATION HERE.
void set_max_byte_size(int max_bytes)
ADD DOCUMENTATION HERE.
void set_debug(const bool enable_debug=true)
ADD DOCUMENTATION HERE.
int max_byte_size()
ADD DOCUMENTATION HERE.
Definitions of an event-based simulation class.
#define DEFAULT_MAX_BYTES_IN_QUEUE
ADD DOCUMENTATION HERE.
Definition of a Packet class.
Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.12.0