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  

AddrParamsClass Class Reference

#include <addr-params.h>

Inheritance diagram for AddrParamsClass:

TclClass List of all members.

Public Member Functions

 AddrParamsClass ()
virtual TclObjectcreate (int, const char *const *)
virtual void bind ()
virtual int method (int ac, const char *const *av)
int mcast_shift ()
int mcast_mask ()
int port_shift ()
int port_mask ()
int node_shift (int n)
int node_mask (int n)
int hlevel ()
int nodebits ()

Static Public Member Functions

AddrParamsClass & instance ()

Private Attributes

int McastShift_
int McastMask_
int PortShift_
int PortMask_
int hlevel_
int * NodeMask_
int * NodeShift_
int nodebits_

Static Private Attributes

AddrParamsClass * instance_ = NULL

Constructor & Destructor Documentation

AddrParamsClass::AddrParamsClass   [inline]

Member Function Documentation

void AddrParamsClass::bind   [virtual]

Reimplemented from TclClass.

virtual TclObject* AddrParamsClass::create int   ,
const char *const *   
[inline, virtual]

Implements TclClass.

int AddrParamsClass::hlevel   [inline]

AddrParamsClass& AddrParamsClass::instance   [inline, static]

int AddrParamsClass::mcast_mask   [inline]

int AddrParamsClass::mcast_shift   [inline]

int AddrParamsClass::method int    ac,
const char *const *    av

Reimplemented from TclClass.

int AddrParamsClass::node_mask int    n [inline]

int AddrParamsClass::node_shift int    n [inline]

int AddrParamsClass::nodebits   [inline]

int AddrParamsClass::port_mask   [inline]

int AddrParamsClass::port_shift   [inline]

Member Data Documentation

int AddrParamsClass::hlevel_ [private]

AddrParamsClass * AddrParamsClass::instance_ = NULL [static, private]

int AddrParamsClass::McastMask_ [private]

int AddrParamsClass::McastShift_ [private]

int AddrParamsClass::nodebits_ [private]

int* AddrParamsClass::NodeMask_ [private]

int* AddrParamsClass::NodeShift_ [private]

int AddrParamsClass::PortMask_ [private]

int AddrParamsClass::PortShift_ [private]

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