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  

EXPOO_Traffic Class Reference

Inheritance diagram for EXPOO_Traffic:

TrafficGenerator Application Process TclObject List of all members.

Public Member Functions

 EXPOO_Traffic ()
virtual double next_interval (int &)
virtual void timeout ()
int command (int argc, const char *const *argv)

Protected Member Functions

void init ()

Protected Attributes

double ontime_
double offtime_
double rate_
double interval_
unsigned int rem_
ExponentialRandomVariable burstlen_
ExponentialRandomVariable Offtime_

Constructor & Destructor Documentation

EXPOO_Traffic::EXPOO_Traffic  
 


Member Function Documentation

int EXPOO_Traffic::command int    argc,
const char *const *    argv
[virtual]
 

Reimplemented from Application.

void EXPOO_Traffic::init   [protected, virtual]
 

Reimplemented from TrafficGenerator.

double EXPOO_Traffic::next_interval int &    [virtual]
 

Implements TrafficGenerator.

void EXPOO_Traffic::timeout   [virtual]
 

Reimplemented from TrafficGenerator.


Member Data Documentation

ExponentialRandomVariable EXPOO_Traffic::burstlen_ [protected]
 

double EXPOO_Traffic::interval_ [protected]
 

ExponentialRandomVariable EXPOO_Traffic::Offtime_ [protected]
 

double EXPOO_Traffic::offtime_ [protected]
 

double EXPOO_Traffic::ontime_ [protected]
 

double EXPOO_Traffic::rate_ [protected]
 

unsigned int EXPOO_Traffic::rem_ [protected]
 


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