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  

GridKeeper Class Reference

#include <gridkeeper.h>

Inheritance diagram for GridKeeper:

TclObject List of all members.

Public Member Functions

 GridKeeper ()
 ~GridKeeper ()
int command (int argc, const char *const *argv)
int get_neighbors (MobileNode *mn, MobileNode **output)
void new_moves (MobileNode *)
void dump ()

Static Public Member Functions

GridKeeper * instance ()

Public Attributes

int size_

Protected Attributes

MobileNode *** grid_
int dim_x_
int dim_y_

Static Private Attributes

GridKeeper * instance_

Constructor & Destructor Documentation



Member Function Documentation

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

Reimplemented from TclObject.

void GridKeeper::dump  

int GridKeeper::get_neighbors MobileNode   mn,
MobileNode **    output

GridKeeper* GridKeeper::instance   [inline, static]

void GridKeeper::new_moves MobileNode  

Member Data Documentation

int GridKeeper::dim_x_ [protected]

int GridKeeper::dim_y_ [protected]

GridHandler* GridKeeper::gh_ [protected]

MobileNode*** GridKeeper::grid_ [protected]

GridKeeper * GridKeeper::instance_ [static, private]

int GridKeeper::size_

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