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  

Topography Class Reference

#include <topography.h>

Inheritance diagram for Topography:

TclObject List of all members.

Public Member Functions

 Topography ()
void updateNodesList (class MobileNode *mn, double oldX)
double lowerX ()
double upperX ()
double lowerY ()
double upperY ()
double resol ()
double height (double x, double y)

Private Member Functions

virtual int command (int argc, const char *const *argv)
int load_flatgrid (int x, int y, int res=1)
int load_demfile (const char *fname)

Private Attributes

double maxX
double maxY
double grid_resolution
int * grid

Constructor & Destructor Documentation

Topography::Topography   [inline]

Member Function Documentation

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

Reimplemented from TclObject.

double Topography::height double    x,
double    y

int Topography::load_demfile const char *    fname [private]

int Topography::load_flatgrid int    x,
int    y,
int    res = 1

double Topography::lowerX   [inline]

double Topography::lowerY   [inline]

double Topography::resol   [inline]

void Topography::updateNodesList class MobileNode   mn,
double    oldX

double Topography::upperX   [inline]

double Topography::upperY   [inline]

Member Data Documentation

WirelessChannel* Topography::channel_ [private]

int* Topography::grid [private]

double Topography::grid_resolution [private]

double Topography::maxX [private]

double Topography::maxY [private]

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