Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

sTopoLink Class Reference

#include <ctopo.h>

Inheritance diagram for sTopoLink::

sTopoLinkIn sTopoLinkOut List of all members.

Public Methods

double weight () const
void setWeight (double d)
bool enabled () const
void enable ()
void disable ()

Detailed Description

Supporting class for cTopology, represents a link in the graph.


Member Function Documentation

void sTopoLink::disable ( ) [inline]
 

Disables this link. This has significance with the shortest path finder methods of cTopology.

void sTopoLink::enable ( ) [inline]
 

Enables this link. This has significance with the shortest path finder methods of cTopology.

bool sTopoLink::enabled ( ) const [inline]
 

Returns true of this link is enabled. This has significance with the shortest path finder methods of cTopology.

void sTopoLink::setWeight ( double d ) [inline]
 

Sets the weight of this link. Weight is used with the weighted shortest path finder methods of cTopology.

double sTopoLink::weight ( ) const [inline]
 

Returns the weight of this link. Weight is used with the weighted shortest path finder methods of cTopology.


The documentation for this class was generated from the following file:
Generated at Sat May 4 15:45:52 2002 for OMNeT++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001