LinkOut Class Reference¶
|
API
|
cTopology::LinkOut Class Reference
Inheritance diagram for cTopology::LinkOut:
Public Member Functions | |
| Node * | getRemoteNode () const |
| Node * | getLocalNode () const |
| int | getRemoteGateId () const |
| int | getLocalGateId () const |
| cGate * | getRemoteGate () const |
| cGate * | getLocalGate () const |
| Public Member Functions inherited from cTopology::Link | |
| Link (double weight=1) | |
| double | getWeight () const |
| void | setWeight (double d) |
| bool | isEnabled () const |
| void | enable () |
| void | disable () |
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()
|
inline |
Returns the node at the remote end of this connection.
◆ getLocalNode()
|
inline |
Returns the node at the local end of this connection.
◆ getRemoteGateId()
|
inline |
Returns the gate ID at the remote end of this connection.
◆ getLocalGateId()
|
inline |
Returns the gate ID at the local end of this connection.
◆ getRemoteGate()
|
inline |
Returns the gate at the remote end of this connection.
◆ getLocalGate()
|
inline |
Returns the gate at the local end of this connection.
Generated on for API by