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  

Simulator Class Reference

#include <simulator.h>

Inheritance diagram for Simulator:

TclObject List of all members.

Public Member Functions

 Simulator ()
 ~Simulator ()
char * macType ()
int command (int argc, const char *const *argv)
void populate_flat_classifiers ()
void populate_hier_classifiers ()
void add_node (ParentNode *node, int id)
NsObjectget_link_head (ParentNode *node, int nh)
int node_id_by_addr (int address)
char * append_addr (int level, int *addr)
void alloc (int n)
void check (int n)

Static Public Member Functions

Simulator & instance ()

Private Attributes

ParentNode ** nodelist_
int nn_
int size_
char macType_ [SMALL_LEN]

Static Private Attributes

Simulator * instance_

Constructor & Destructor Documentation

Simulator::Simulator   [inline]

Simulator::~Simulator   [inline]

Member Function Documentation

void Simulator::add_node ParentNode   node,
int    id

void Simulator::alloc int    n

char * Simulator::append_addr int    level,
int *    addr

void Simulator::check int    n

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

Reimplemented from TclObject.

NsObject * Simulator::get_link_head ParentNode   node,
int    nh

Simulator& Simulator::instance   [inline, static]

char* Simulator::macType   [inline]

int Simulator::node_id_by_addr int    address

void Simulator::populate_flat_classifiers  

void Simulator::populate_hier_classifiers  

Member Data Documentation

Simulator * Simulator::instance_ [static, private]

char Simulator::macType_[SMALL_LEN] [private]

int Simulator::nn_ [private]

ParentNode** Simulator::nodelist_ [private]

RouteLogic* Simulator::rtobject_ [private]

int Simulator::size_ [private]

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