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  

PIQueue Class Reference

#include <pi.h>

Inheritance diagram for PIQueue:

Queue< T > Connector NsObject TclObject Handler List of all members.

Public Member Functions

 PIQueue (const char *="Drop")

Protected Member Functions

int command (int argc, const char *const *argv)
void enque (Packet *pkt)
virtual PacketpickPacketForECN (Packet *pkt)
virtual PacketpickPacketToDrop ()
Packetdeque ()
void reset ()
int drop_early (Packet *pkt, int qlen)
double calculate_p ()
void trace (TracedVar *)

Protected Attributes

PICalcTimer CalcTimer
int fifo_
int qib_
char traceType [20]
Tcl_Channel tchan_
TracedInt curq_
edp_pi edp_
edv_pi edv_
int first_reset_


class PICalcTimer

Constructor & Destructor Documentation

PIQueue::PIQueue const char *    = "Drop"

Member Function Documentation

double PIQueue::calculate_p   [protected]

int PIQueue::command int    argc,
const char *const *    argv
[protected, virtual]

Reimplemented from Connector.

Packet * PIQueue::deque   [protected, virtual]

Implements Queue< T >.

int PIQueue::drop_early Packet   pkt,
int    qlen

void PIQueue::enque Packet   pkt [protected, virtual]

Implements Queue< T >.

Packet * PIQueue::pickPacketForECN Packet   pkt [protected, virtual]

Packet * PIQueue::pickPacketToDrop   [protected, virtual]

void PIQueue::reset   [protected, virtual]

Reimplemented from Queue< T >.

void PIQueue::trace TracedVar   [protected, virtual]

Reimplemented from TclObject.

Friends And Related Function Documentation

friend class PICalcTimer [friend]

Member Data Documentation

PICalcTimer PIQueue::CalcTimer [protected]

TracedInt PIQueue::curq_ [protected]

NsObject* PIQueue::de_drop_ [protected]

edp_pi PIQueue::edp_ [protected]

NsObject* PIQueue::EDTrace [protected]

edv_pi PIQueue::edv_ [protected]

int PIQueue::fifo_ [protected]

int PIQueue::first_reset_ [protected]

LinkDelay* PIQueue::link_ [protected]

PacketQueue* PIQueue::q_ [protected]

int PIQueue::qib_ [protected]

Tcl_Channel PIQueue::tchan_ [protected]

char PIQueue::traceType[20] [protected]

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