| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <queue.h>
Inheritance diagram for Queue< T >:

Public Member Functions | |
| virtual void | enque (Packet *)=0 |
| virtual Packet * | deque ()=0 |
| virtual void | recv (Packet *, Handler *) |
| virtual void | updateStats (int queuesize) |
| void | resume () |
| int | blocked () const |
| void | unblock () |
| void | block () |
| int | limit () |
| int | length () |
| int | byteLength () |
| virtual double | utilization (void) |
| Queue () | |
| virtual | ~Queue () |
| virtual void | reset () |
| virtual void | destroy () |
| void | enqueue (QueueElem< T > *e) |
| QueueElem< T > * | dequeue () |
| void | detach (QueueElem< T > *e) |
| QueueElem< T > * | getHead () |
| int | is_empty () const |
| int | size () const |
Protected Member Functions | |
| Queue () | |
| ~Queue () | |
| void | reset () |
| void | utilUpdate (double int_begin, double int_end, int link_state) |
Protected Attributes | |
| int | qlim_ |
| int | blocked_ |
| int | unblock_on_resume_ |
| QueueHandler | qh_ |
| PacketQueue * | pq_ |
| double | true_ave_ |
| double | total_time_ |
| double | last_change_ |
| double | old_util_ |
| double | util_weight_ |
| QueueElem< T > * | head_ |
| QueueElem< T > * | tail_ |
| int | size_ |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Implemented in SimpleIntServ, dsREDQueue, CBQueue, WRR_CBQueue, Demarker, DropTail, DRR, FQ, GK, JoBS, Marker, PIQueue, REDQueue, REMQueue, RIOQueue, SFQ, SRR, Vq, XCPWrapQ, and XCPQueue. |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Implemented in SimpleIntServ, edgeQueue, dsREDQueue, PushbackQueue, CBQueue, Demarker, DropTail, DRR, FQ, GK, JoBS, Marker, PIQueue, RedPDQueue, REDQueue, REMQueue, RIOQueue, SFQ, SRR, Vq, XCPWrapQ, and XCPQueue. |
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
Reimplemented from Connector. |
|
|||||||||
|
Reimplemented from NsObject. Reimplemented in dsREDQueue, CBQueue, DropTail, PIQueue, RedPDQueue, REDQueue, REMQueue, and RIOQueue. |
|
|||||||||
|
Reimplemented from NsObject. Reimplemented in dsREDQueue, CBQueue, DropTail, PIQueue, RedPDQueue, REDQueue, REMQueue, and RIOQueue. |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|