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  

aodv_rqueue Class Reference

#include <aodv_rqueue.h>

Inheritance diagram for aodv_rqueue:

Connector NsObject TclObject Handler List of all members.

Public Member Functions

 aodv_rqueue ()
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)
bool findAgedPacket (Packet *&p, Packet *&prev)
void verifyQueue (void)

Private Attributes

int len_
int limit_
double timeout_

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from Connector.

Packet * aodv_rqueue::deque nsaddr_t    dst

Packet * aodv_rqueue::deque void   

void aodv_rqueue::enque Packet   p

char aodv_rqueue::find nsaddr_t    dst

bool aodv_rqueue::findAgedPacket Packet *&    p,
Packet *&    prev

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

void aodv_rqueue::purge void    [private]

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

Reimplemented from Connector.

Packet * aodv_rqueue::remove_head   [private]

void aodv_rqueue::verifyQueue void    [private]

Member Data Documentation

Packet* aodv_rqueue::head_ [private]

int aodv_rqueue::len_ [private]

int aodv_rqueue::limit_ [private]

Packet* aodv_rqueue::tail_ [private]

double aodv_rqueue::timeout_ [private]

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