Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

sTopoLinkIn Class Reference

#include <ctopo.h>

Inheritance diagram for sTopoLinkIn::

sTopoLink List of all members.

Public Methods

sTopoNoderemoteNode () const
int remoteGateId () const
int localGateId () const
cGateremoteGate () const
cGatelocalGate () const

Detailed Description

Supporting class for cTopology.

While navigating the graph stored in a cTopology, sTopoNode's methods return sTopoLinkIn and sTopoLinkOut objects, which are 'aliases' to sTopoLink objects. sTopoLinkIn and sTopoLinkOut provide convenience functions that return the 'local' and 'remote' end of the connection when traversing the topology.


Member Function Documentation

cGate * sTopoLinkIn::localGate ( ) const [inline]
 

Returns the gate at the local end of this connection.

int sTopoLinkIn::localGateId ( ) const [inline]
 

Returns the gate ID at the local end of this connection.

cGate * sTopoLinkIn::remoteGate ( ) const [inline]
 

Returns the gate at the remote end of this connection.

int sTopoLinkIn::remoteGateId ( ) const [inline]
 

Returns the gate ID at the remote end of this connection.

sTopoNode * sTopoLinkIn::remoteNode ( ) const [inline]
 

Returns the node at the remote end of this connection.

Note: There's no corresponding localNode() method: the local node of this connection is the sTopoNode object whose method returned this sTopoLinkIn object.


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