22 #include "ns3/queue.h"    31 template <
typename Item>
    70 template <
typename Item>
    76     .SetGroupName (
"Network")
    77     .template AddConstructor<DropTailQueue<Item> > ()
    78     .AddAttribute (
"MaxSize",
    88 template <
typename Item>
    96 template <
typename Item>
   102 template <
typename Item>
   108   return DoEnqueue (end (), item);
   111 template <
typename Item>
   124 template <
typename Item>
   137 template <
typename Item>
   143   return DoPeek (begin ());
 virtual Ptr< const Item > Peek(void) const
Get a copy of an item in the queue (each subclass defines the position) without removing it...
static TypeId GetTypeId(void)
Get the type ID. 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
Class for representing queue sizes. 
QueueSize GetMaxSize(void) const
virtual Ptr< Item > Remove(void)
Remove an item from the Queue (each subclass defines the position), counting it and tracing it as bot...
virtual bool Enqueue(Ptr< Item > item)
Place an item into the Queue (each subclass defines the position) 
Template class for packet Queues. 
#define NS_LOG_TEMPLATE_DEFINE(name)
Initialize a reference to a Log component. 
Ptr< const AttributeAccessor > MakeQueueSizeAccessor(T1 a1)
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC. 
  Introspection did not find any typical Config paths. 
Ptr< const AttributeChecker > MakeQueueSizeChecker(void)
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
DropTailQueue()
DropTailQueue Constructor. 
NS_LOG_TEMPLATE_DECLARE
redefinition of the log component 
virtual Ptr< Item > Dequeue(void)
Remove an item from the Queue (each subclass defines the position), counting it and tracing it as deq...
void SetMaxSize(QueueSize size)
Set the maximum size of this queue. 
a unique identifier for an interface. 
TypeId SetParent(TypeId tid)
Set the parent TypeId. 
A FIFO packet queue that drops tail-end packets on overflow. 
std::string GetTypeParamName(void)
Helper function to get the name (as a string) of the type parameter of a template class...