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  

EWdetector Class Reference

#include <ew.h>

Inheritance diagram for EWdetector:

EWdetectorB EWdetectorP List of all members.

Public Member Functions

 EWdetector ()
void setDb (int)
void setDt (int)
void setLink (int, int)
void setAlarm ()
void resetAlarm ()
int testAlarm ()
void setChange ()
void resetChange ()
void run (Packet *)
virtual void measure (Packet *)=0
virtual void detect ()=0
virtual void updateCur ()=0
void updateAvg ()
virtual void trace ()=0

Public Attributes

int ew_src
int ew_dst
double now
int db_timer
int dt_timer
int dt_inv
int db_inv
double cur_rate
double avg_rate
int alarm
int change
HLF hlf

Constructor & Destructor Documentation

EWdetector::EWdetector  
 


Member Function Documentation

virtual void EWdetector::detect   [pure virtual]
 

Implemented in EWdetectorP, and EWdetectorB.

virtual void EWdetector::measure Packet   [pure virtual]
 

Implemented in EWdetectorP, and EWdetectorB.

void EWdetector::resetAlarm  
 

void EWdetector::resetChange  
 

void EWdetector::run Packet  
 

void EWdetector::setAlarm  
 

void EWdetector::setChange  
 

void EWdetector::setDb int   
 

void EWdetector::setDt int   
 

void EWdetector::setLink int   ,
int   
 

int EWdetector::testAlarm  
 

virtual void EWdetector::trace   [pure virtual]
 

Implemented in EWdetectorP, and EWdetectorB.

void EWdetector::updateAvg  
 

Reimplemented in EWdetectorP, and EWdetectorB.

virtual void EWdetector::updateCur   [pure virtual]
 

Implemented in EWdetectorP, and EWdetectorB.


Member Data Documentation

int EWdetector::alarm
 

double EWdetector::avg_rate
 

int EWdetector::change
 

double EWdetector::cur_rate
 

int EWdetector::db_inv
 

int EWdetector::db_timer
 

int EWdetector::dt_inv
 

int EWdetector::dt_timer
 

int EWdetector::ew_dst
 

int EWdetector::ew_src
 

HLF EWdetector::hlf
 

double EWdetector::now
 


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