ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PacketQueue Class Reference

#include <queue.h>

Inheritance diagram for PacketQueue:

TclObject PacketDRR PacketSFQ SemanticPacketQueue List of all members.

Public Member Functions

 PacketQueue ()
virtual int length () const
virtual int byteLength () const
virtual Packetenque (Packet *p)
virtual Packetdeque ()
Packetlookup (int n)
virtual void remove (Packet *)
void remove (Packet *, Packet *)
Packethead ()
Packettail ()
virtual void enqueHead (Packet *p)
void resetIterator ()
PacketgetNext ()

Protected Attributes

int len_
int bytes_

Private Attributes


Constructor & Destructor Documentation

PacketQueue::PacketQueue   [inline]

Member Function Documentation

virtual int PacketQueue::byteLength   const [inline, virtual]

virtual Packet* PacketQueue::deque   [inline, virtual]

Reimplemented in SemanticPacketQueue.

virtual Packet* PacketQueue::enque Packet   p [inline, virtual]

Reimplemented in SemanticPacketQueue.

virtual void PacketQueue::enqueHead Packet   p [inline, virtual]

Packet* PacketQueue::getNext   [inline]

Packet* PacketQueue::head   [inline]

Reimplemented in SemanticPacketQueue.

virtual int PacketQueue::length   const [inline, virtual]

Packet* PacketQueue::lookup int    n [inline]

void PacketQueue::remove Packet  ,

Reimplemented in SemanticPacketQueue.

void PacketQueue::remove Packet   [virtual]

Reimplemented in SemanticPacketQueue.

void PacketQueue::resetIterator   [inline]

Packet* PacketQueue::tail   [inline]

Member Data Documentation

int PacketQueue::bytes_ [protected]

Packet* PacketQueue::head_ [protected]

Packet* PacketQueue::iter [private]

int PacketQueue::len_ [protected]

Packet* PacketQueue::tail_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.