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  

tags_database Class Reference

#include <tags.h>

Inheritance diagram for tags_database:

TclObject List of all members.

Public Member Functions

 tags_database ()
 ~tags_database ()
virtual int command (int argc, const char *const *argv)
void create_tags_database (double x_min, double x_max, double y_min, double y_max, int num_tags)
void Addtag (const tag *tag_)
void Deletetag (const tag *tag_)
compr_taglistGettags (double x, double y, double r)
void trace (char *fmt,...)
int get_random_tag ()

Public Attributes


Protected Member Functions

void add_level (double x_min, double x_max, double y_min, double y_max, dbase_node *dbnode)
void search_tags_dbase (double x, double y, double r, dbase_node *dbnode)

Protected Attributes

int num_tags_
int num_sensed_tags_
int * sensed_tag_list_
int num_freq_qry_tags_
int * freq_qry_tag_list_

Constructor & Destructor Documentation

tags_database::tags_database   [inline]

tags_database::~tags_database   [inline]

Member Function Documentation

void tags_database::add_level double    x_min,
double    x_max,
double    y_min,
double    y_max,
dbase_node   dbnode

void tags_database::Addtag const tag   tag_

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

Reimplemented from TclObject.

void tags_database::create_tags_database double    x_min,
double    x_max,
double    y_min,
double    y_max,
int    num_tags

void tags_database::Deletetag const tag   tag_

int tags_database::get_random_tag  

compr_taglist * tags_database::Gettags double    x,
double    y,
double    r

void tags_database::search_tags_dbase double    x,
double    y,
double    r,
dbase_node   dbnode

void tags_database::trace char *    fmt,

Member Data Documentation

int* tags_database::freq_qry_tag_list_ [protected]

int tags_database::num_freq_qry_tags_ [protected]

int tags_database::num_sensed_tags_ [protected]

int tags_database::num_tags_ [protected]

RNG* tags_database::rn_ [protected]

int* tags_database::sensed_tag_list_ [protected]

dbase_node* tags_database::tags_db_ [protected]

Trace* tags_database::tracetarget_

compr_taglist* tags_database::vtags_ [protected]

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