OMNeT++ Simulation Library
6.0.3
|
#include <ctopology.h>
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.
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 () |
|
inline |
Returns the node at the remote end of this connection.
|
inline |
Returns the node at the local end of this connection.
|
inline |
Returns the gate ID at the remote end of this connection.
|
inline |
Returns the gate ID at the local end of this connection.
|
inline |
Returns the gate at the remote end of this connection.
|
inline |
Returns the gate at the local end of this connection.