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  

AgentList Class Reference

#include <agent-list.h>

Inheritance diagram for AgentList:

TclObject List of all members.

Public Member Functions

 AgentList ()
virtual int command (int argc, const char *const *argv)
void AddAgent (nsaddr_t node_addr, void *a)
void * GetAgent (nsaddr_t node_addr)

Static Public Member Functions

AgentList * instance ()

Private Attributes

void ** agents_
int num_agents_

Static Private Attributes

AgentList * instance_

Constructor & Destructor Documentation

AgentList::AgentList   [inline]

Member Function Documentation

void AgentList::AddAgent nsaddr_t    node_addr,
void *    a

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

Reimplemented from TclObject.

void* AgentList::GetAgent nsaddr_t    node_addr [inline]

AgentList* AgentList::instance   [inline, static]

Member Data Documentation

void** AgentList::agents_ [private]

AgentList * AgentList::instance_ [static, private]

int AgentList::num_agents_ [private]

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