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  

ADC Class Reference

#include <adc.h>

Inheritance diagram for ADC:

NsObject TclObject Handler ACTO_ADC ACTP_ADC HB_ADC MS_ADC Param_ADC MSPK_ADC List of all members.

Public Member Functions

 ADC ()
int command (int, const char *const *)
virtual int admit_flow (int cl, double r, int b)=0
virtual void rej_action (int, double, int)
virtual void teardown_action (int, double, int)
void recv (Packet *, Handler *)
void setest (int cl, Estimator *est)
double peak_rate (int cl, double r, int b)
char * type ()

Protected Attributes

Estimator * est_ [CLASS]
double bandwidth_
char * type_
Tcl_Channel tchan_
int src_
int dst_
int backoff_
int dobump_

Constructor & Destructor Documentation

ADC::ADC (    ) 
 


Member Function Documentation

virtual int ADC::admit_flow (  int    cl,
double    r,
int    b
)  [pure virtual]
 

Implemented in ACTO_ADC, ACTP_ADC, HB_ADC, MS_ADC, and Param_ADC.

int ADC::command (  int   ,
const char *const *   
)  [virtual]
 

Reimplemented from NsObject.

double ADC::peak_rate (  int    cl,
double    r,
int    b
)  [inline]
 

void ADC::recv (  Packet *   ,
Handler *   
)  [inline, virtual]
 

Implements NsObject.

virtual void ADC::rej_action (  int   ,
double   ,
int   
)  [inline, virtual]
 

Reimplemented in ACTP_ADC, HB_ADC, MS_ADC, and Param_ADC.

void ADC::setest (  int    cl,
Estimator *    est
)  [inline]
 

virtual void ADC::teardown_action (  int   ,
double   ,
int   
)  [inline, virtual]
 

Reimplemented in ACTO_ADC, ACTP_ADC, HB_ADC, and Param_ADC.

char* ADC::type (    )  [inline]
 


Member Data Documentation

int ADC::backoff_ [protected]
 

double ADC::bandwidth_ [protected]
 

int ADC::dobump_ [protected]
 

int ADC::dst_ [protected]
 

Estimator* ADC::est_[CLASS] [protected]
 

int ADC::src_ [protected]
 

Tcl_Channel ADC::tchan_ [protected]
 

char* ADC::type_ [protected]
 


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