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  

Channel Class Reference

#include <channel.h>

Inheritance diagram for Channel:

TclObject NoDupChannel SatChannel WirelessChannel List of all members.

Public Member Functions

 Channel (void)
virtual int command (int argc, const char *const *argv)
virtual void recv (Packet *p, Handler *)
double maxdelay ()
int index ()

Public Attributes

if_head ifhead_
TclObject * gridkeeper_

Protected Member Functions

virtual double get_pdelay (Node *tnode, Node *rnode)

Protected Attributes

int index_
double delay_
Trace * trace_

Private Member Functions

virtual void sendUp (Packet *p, Phy *txif)
void dump (void)

Constructor & Destructor Documentation

Channel::Channel (  void    ) 
 


Member Function Documentation

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

Reimplemented from TclObject.

Reimplemented in WirelessChannel.

void Channel::dump (  void    )  [private]
 

double Channel::get_pdelay (  Node *    tnode,
Node *    rnode
)  [protected, virtual]
 

Reimplemented in WirelessChannel, and SatChannel.

int Channel::index (    )  [inline]
 

double Channel::maxdelay (    )  [inline]
 

void Channel::recv (  Packet *    p,
Handler *   
)  [virtual]
 

Reimplemented in NoDupChannel.

void Channel::sendUp (  Packet *    p,
Phy *    txif
)  [private, virtual]
 

Reimplemented in NoDupChannel, and WirelessChannel.


Member Data Documentation

double Channel::delay_ [protected]
 

TclObject* Channel::gridkeeper_
 

struct if_head Channel::ifhead_
 

int Channel::index_ [protected]
 

Trace* Channel::trace_ [protected]
 


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