dtnsim::Topology Class Reference

The class that maintains the topology of the network. More...

#include <Topology.h>

List of all members.

Public Types

typedef oasys::StringHashMap
< Node * > 
NodeTable

Static Public Member Functions

static Nodecreate_node (const char *name)
static Nodefind_node (const char *name)
static NodeTablenode_table ()

Static Protected Attributes

static NodeTable nodes_
static const int MAX_NODES = 100

Detailed Description

The class that maintains the topology of the network.

Definition at line 34 of file Topology.h.


Member Typedef Documentation

typedef oasys::StringHashMap<Node*> dtnsim::Topology::NodeTable

Definition at line 40 of file Topology.h.


Member Function Documentation

Node * dtnsim::Topology::create_node ( const char *  name  )  [static]

Definition at line 29 of file Topology.cc.

References dtnsim::Node::do_init(), and nodes_.

Referenced by dtnsim::SimCommand::exec().

Node * dtnsim::Topology::find_node ( const char *  name  )  [static]
static NodeTable* dtnsim::Topology::node_table (  )  [inline, static]

Member Data Documentation

const int dtnsim::Topology::MAX_NODES = 100 [static, protected]

Definition at line 46 of file Topology.h.

Definition at line 45 of file Topology.h.

Referenced by create_node(), find_node(), and node_table().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 11:41:14 2010 for DTN Reference Implementation by  doxygen 1.6.3