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  

CBQClass Class Reference

Inheritance diagram for CBQClass:

Connector NsObject TclObject Handler List of all members.

Public Member Functions

 CBQClass ()
int command (int argc, const char *const *argv)
void recv (Packet *, Handler *)

Protected Member Functions

void newallot (double)
void update (Packet *, double)
void delayed (double)
int satisfied (double)
int demand ()
int leaf ()
int ancestor (CBQClass *p)
int desc_with_demand ()

Protected Attributes

CBQClass * peer_
CBQClass * level_peer_
CBQClass * lender_
double allotment_
double maxidle_
double maxrate_
double extradelay_
double last_time_
double undertime_
double avgidle_
int pri_
int level_
int delayed_
int bytes_alloc_
int permit_borrowing_


class CBQueue
class WRR_CBQueue

Constructor & Destructor Documentation


Member Function Documentation

int CBQClass::ancestor CBQClass *    p [protected]

int CBQClass::command int    argc,
const char *const *    argv

Reimplemented from Connector.

void CBQClass::delayed double    [protected]

int CBQClass::demand   [protected]

int CBQClass::desc_with_demand   [protected]

int CBQClass::leaf   [protected]

void CBQClass::newallot double    [protected]

void CBQClass::recv Packet  ,

Reimplemented from Connector.

int CBQClass::satisfied double    [protected]

void CBQClass::update Packet  ,

Friends And Related Function Documentation

friend class CBQueue [friend]

friend class WRR_CBQueue [friend]

Member Data Documentation

double CBQClass::allotment_ [protected]

double CBQClass::avgidle_ [protected]

int CBQClass::bytes_alloc_ [protected]

CBQueue* CBQClass::cbq_ [protected]

int CBQClass::delayed_ [protected]

double CBQClass::extradelay_ [protected]

double CBQClass::last_time_ [protected]

CBQClass* CBQClass::lender_ [protected]

int CBQClass::level_ [protected]

CBQClass* CBQClass::level_peer_ [protected]

double CBQClass::maxidle_ [protected]

double CBQClass::maxrate_ [protected]

CBQClass* CBQClass::peer_ [protected]

int CBQClass::permit_borrowing_ [protected]

int CBQClass::pri_ [protected]

Queue* CBQClass::q_ [protected]

QueueMonitor* CBQClass::qmon_ [protected]

double CBQClass::undertime_ [protected]

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