LinkIn Class Reference

API: cTopology::LinkIn Class Reference
API
cTopology::LinkIn Class Reference
Inheritance diagram for cTopology::LinkIn:
[legend]

Public Member Functions

NodegetRemoteNode () const
NodegetLocalNode () const
int getRemoteGateId () const
int getLocalGateId () const
cGategetRemoteGate () const
cGategetLocalGate () const

Description

Supporting class for cTopology.

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.

Member Function Documentation

◆ getRemoteNode()

Node * getRemoteNode ( ) const
inline

Returns the node at the remote end of this connection.

◆ getLocalNode()

Node * getLocalNode ( ) const
inline

Returns the node at the local end of this connection.

◆ getRemoteGateId()

int getRemoteGateId ( ) const
inline

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

◆ getLocalGateId()

int getLocalGateId ( ) const
inline

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

◆ getRemoteGate()

cGate * getRemoteGate ( ) const
inline

Returns the gate at the remote end of this connection.

◆ getLocalGate()

cGate * getLocalGate ( ) const
inline

Returns the gate at the local end of this connection.