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  

WirelessChannel Class Reference

#include <channel.h>

Inheritance diagram for WirelessChannel:

Channel TclObject List of all members.

Public Member Functions

 WirelessChannel (void)
virtual int command (int argc, const char *const *argv)
double gethighestAntennaZ ()

Protected Member Functions

void calcHighestAntennaZ (Phy *tifp)

Static Protected Attributes

double distCST_ = -1
double highestAntennaZ_ = -1

Private Member Functions

void sendUp (Packet *p, Phy *txif)
double get_pdelay (Node *tnode, Node *rnode)
void addNodeToList (MobileNode *mn)
void removeNodeFromList (MobileNode *mn)
void sortLists (void)
void updateNodesList (class MobileNode *mn, double oldX)
MobileNode ** getAffectedNodes (MobileNode *mn, double radius, int *numAffectedNodes)

Private Attributes

int numNodes_
bool sorted_


class Topography

Constructor & Destructor Documentation

WirelessChannel::WirelessChannel void   

Member Function Documentation

void WirelessChannel::addNodeToList MobileNode   mn [private]

void WirelessChannel::calcHighestAntennaZ Phy   tifp [protected]

int WirelessChannel::command int    argc,
const char *const *    argv

Reimplemented from Channel.

double WirelessChannel::get_pdelay Node   tnode,
Node   rnode
[private, virtual]

Reimplemented from Channel.

MobileNode ** WirelessChannel::getAffectedNodes MobileNode   mn,
double    radius,
int *    numAffectedNodes

double WirelessChannel::gethighestAntennaZ   [inline]

void WirelessChannel::removeNodeFromList MobileNode   mn [private]

void WirelessChannel::sendUp Packet   p,
Phy   txif
[private, virtual]

Reimplemented from Channel.

void WirelessChannel::sortLists void    [private]

void WirelessChannel::updateNodesList class MobileNode   mn,
double    oldX

Friends And Related Function Documentation

friend class Topography [friend]

Member Data Documentation

double WirelessChannel::distCST_ = -1 [static, protected]

double WirelessChannel::highestAntennaZ_ = -1 [static, protected]

int WirelessChannel::numNodes_ [private]

bool WirelessChannel::sorted_ [private]

MobileNode* WirelessChannel::xListHead_ [private]

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