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  

CBR_Traffic Class Reference

Inheritance diagram for CBR_Traffic:

TrafficGenerator Application Process TclObject List of all members.

Public Member Functions

 CBR_Traffic ()
virtual double next_interval (int &)
double interval ()

Protected Member Functions

virtual void start ()
void init ()

Protected Attributes

double rate_
double interval_
double random_
int seqno_
int maxpkts_

Constructor & Destructor Documentation


Member Function Documentation

void CBR_Traffic::init   [protected, virtual]

Reimplemented from TrafficGenerator.

double CBR_Traffic::interval   [inline, virtual]

Reimplemented from TrafficGenerator.

double CBR_Traffic::next_interval int &    [virtual]

Implements TrafficGenerator.

void CBR_Traffic::start   [protected, virtual]

Reimplemented from TrafficGenerator.

Member Data Documentation

double CBR_Traffic::interval_ [protected]

int CBR_Traffic::maxpkts_ [protected]

double CBR_Traffic::random_ [protected]

double CBR_Traffic::rate_ [protected]

int CBR_Traffic::seqno_ [protected]

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