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  

rtqueue Class Reference

#include <rtqueue.h>

Inheritance diagram for rtqueue:

Connector NsObject TclObject Handler List of all members.

Public Member Functions

 rtqueue ()
void recv (Packet *, Handler *)
void enque (Packet *p)
int command (int argc, const char *const *argv)
Packetdeque (void)
Packetdeque (nsaddr_t dst)
char find (nsaddr_t dst)

Private Member Functions

Packetremove_head ()
void purge (void)
void findPacketWithDst (nsaddr_t dst, Packet *&p, Packet *&prev)
void verifyQueue (void)

Private Attributes

int len_
int limit_
double timeout_

Constructor & Destructor Documentation


Member Function Documentation

int rtqueue::command int    argc,
const char *const *    argv
[inline, virtual]

Reimplemented from Connector.

Packet * rtqueue::deque nsaddr_t    dst

Packet * rtqueue::deque void   

void rtqueue::enque Packet   p

char rtqueue::find nsaddr_t    dst

void rtqueue::findPacketWithDst nsaddr_t    dst,
Packet *&    p,
Packet *&    prev

void rtqueue::purge void    [private]

void rtqueue::recv Packet  ,
[inline, virtual]

Reimplemented from Connector.

Packet * rtqueue::remove_head   [private]

void rtqueue::verifyQueue void    [private]

Member Data Documentation

Packet* rtqueue::head_ [private]

int rtqueue::len_ [private]

int rtqueue::limit_ [private]

Packet* rtqueue::tail_ [private]

double rtqueue::timeout_ [private]

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