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  

LinkDelay Class Reference

#include <delay.h>

Inheritance diagram for LinkDelay:

Connector NsObject TclObject Handler ARPTable LL newLL LLSnoop SatLL List of all members.

Public Member Functions

 LinkDelay ()
void recv (Packet *p, Handler *)
void send (Packet *p, Handler *)
void handle (Event *e)
double delay ()
double txtime (Packet *p)
double bandwidth () const
void pktintran (int src, int group)

Protected Member Functions

int command (int argc, const char *const *argv)
void reset ()

Protected Attributes

double bandwidth_
double delay_
Event intr_
int dynamic_
double latest_time_
PacketQueueitq_
int total_ [4]
int avoidReordering_

Constructor & Destructor Documentation

LinkDelay::LinkDelay  
 


Member Function Documentation

double LinkDelay::bandwidth   const [inline]
 

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

Reimplemented from Connector.

Reimplemented in ARPTable, LL, newLL, and SatLL.

double LinkDelay::delay   [inline]
 

void LinkDelay::handle Event   e [virtual]
 

Reimplemented from NsObject.

Reimplemented in LL, and newLL.

void LinkDelay::pktintran int    src,
int    group
 

void LinkDelay::recv Packet   p,
Handler  
[virtual]
 

Reimplemented from Connector.

Reimplemented in LL, newLL, SatLL, and LLSnoop.

void LinkDelay::reset   [protected, virtual]
 

Reimplemented from NsObject.

void LinkDelay::send Packet   p,
Handler  
 

Reimplemented from Connector.

double LinkDelay::txtime Packet   p [inline]
 


Member Data Documentation

int LinkDelay::avoidReordering_ [protected]
 

double LinkDelay::bandwidth_ [protected]
 

double LinkDelay::delay_ [protected]
 

int LinkDelay::dynamic_ [protected]
 

Event LinkDelay::intr_ [protected]
 

PacketQueue* LinkDelay::itq_ [protected]
 

double LinkDelay::latest_time_ [protected]
 

int LinkDelay::total_[4] [protected]
 


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