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  

Estimator Class Reference

#include <estimator.h>

Inheritance diagram for Estimator:

NsObject TclObject Handler ExpAvg_Est Null_Est PointSample_Est TimeWindow_Est List of all members.

Public Member Functions

 Estimator ()
double avload ()
virtual void change_avload (double incr)
virtual void newflow (double)
int command (int argc, const char *const *argv)
virtual void timeout (int)
void recv (Packet *, Handler *)
virtual void start ()
void stop ()
void setmeasmod (MeasureMod *)
void setactype (const char *)
double & period ()
void trace (TracedVar *v)

Protected Member Functions

virtual void estimate ()=0

Protected Attributes

MeasureMod * meas_mod_
TracedDouble avload_
double period_
Estimator_Timer est_timer_
TracedDouble measload_
Tcl_Channel tchan_
int src_
int dst_
double omeasload_
double oavload_
char * actype_

Constructor & Destructor Documentation

Estimator::Estimator (    ) 
 


Member Function Documentation

double Estimator::avload (    )  [inline]
 

virtual void Estimator::change_avload (  double    incr )  [inline, virtual]
 

Reimplemented in TimeWindow_Est.

int Estimator::command (  int    argc,
const char *const *    argv
)  [virtual]
 

Reimplemented from NsObject.

virtual void Estimator::estimate (    )  [protected, pure virtual]
 

Implemented in ExpAvg_Est, Null_Est, PointSample_Est, and TimeWindow_Est.

virtual void Estimator::newflow (  double    )  [inline, virtual]
 

double& Estimator::period (    )  [inline]
 

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

Implements NsObject.

void Estimator::setactype (  const char *    ) 
 

void Estimator::setmeasmod (  MeasureMod *    ) 
 

void Estimator::start (    )  [virtual]
 

void Estimator::stop (    ) 
 

void Estimator::timeout (  int    )  [virtual]
 

void Estimator::trace (  TracedVar *    v )  [virtual]
 

Reimplemented from TclObject.


Member Data Documentation

char* Estimator::actype_ [protected]
 

TracedDouble Estimator::avload_ [protected]
 

int Estimator::dst_ [protected]
 

Estimator_Timer Estimator::est_timer_ [protected]
 

MeasureMod* Estimator::meas_mod_ [protected]
 

TracedDouble Estimator::measload_ [protected]
 

double Estimator::oavload_ [protected]
 

double Estimator::omeasload_ [protected]
 

double Estimator::period_ [protected]
 

int Estimator::src_ [protected]
 

Tcl_Channel Estimator::tchan_ [protected]
 


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