#include <ctopology.h>

While navigating the graph stored in a cTopology, Node's methods return LinkIn and LinkOut objects, which are 'aliases' to Link objects. LinkIn and LinkOut provide convenience functions that return the 'local' and 'remote' end of the connection when traversing the topology.
Public Member Functions | |
| Node * | getRemoteNode () const |
| int | getRemoteGateId () const |
| int | getLocalGateId () const |
| cGate * | getRemoteGate () const |
| cGate * | getLocalGate () const |
| Node* cTopology::LinkOut::getRemoteNode | ( | ) | const [inline] |
| int cTopology::LinkOut::getRemoteGateId | ( | ) | const [inline] |
Returns the gate ID at the remote end of this connection.
| int cTopology::LinkOut::getLocalGateId | ( | ) | const [inline] |
Returns the gate ID at the local end of this connection.
| cGate* cTopology::LinkOut::getRemoteGate | ( | ) | const [inline] |
Returns the gate at the remote end of this connection.
| cGate* cTopology::LinkOut::getLocalGate | ( | ) | const [inline] |
Returns the gate at the local end of this connection.
1.5.5