cTopology::Link Class Reference

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

#include <ctopology.h>

Inheritance diagram for cTopology::Link:
cTopology::LinkIn cTopology::LinkOut

List of all members.

Public Member Functions

double getWeight () const
void setWeight (double d)
bool isEnabled () const
void enable ()
void disable ()

Friends

class cTopology

Detailed Description

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


Member Function Documentation

void cTopology::Link::disable (  )  [inline]

Disables this link.

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

void cTopology::Link::enable (  )  [inline]

Enables this link.

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

double cTopology::Link::getWeight (  )  const [inline]

Returns the weight of this link.

Weight is used with the weighted shortest path finder methods of cTopology.

bool cTopology::Link::isEnabled (  )  const [inline]

Returns true of this link is enabled.

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

void cTopology::Link::setWeight ( double  d  )  [inline]

Sets 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 on Tue Dec 2 11:16:30 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3