|
INET Framework for OMNeT++/OMNEST
|
Represents a connection (wired or wireless) in the network. More...
#include <L3NetworkConfiguratorBase.h>
Public Member Functions | |
| Link () | |
Public Member Functions inherited from inet::Topology::Link | |
| Link (double weight=1) | |
| Constructor. More... | |
| virtual | ~Link () |
| double | getWeight () const |
| Returns the weight of this link. More... | |
| void | setWeight (double d) |
| Sets the weight of this link. More... | |
| bool | isEnabled () const |
| Returns true of this link is enabled. More... | |
| void | enable () |
| Enables this link. More... | |
| void | disable () |
| Disables this link. More... | |
| Node * | getLinkInRemoteNode () const |
| Returns the node at the remote end of this connection. More... | |
| Node * | getLinkInLocalNode () const |
| Returns the node at the local end of this connection. More... | |
| int | getLinkInRemoteGateId () const |
| Returns the gate ID at the remote end of this connection. More... | |
| int | getLinkInLocalGateId () const |
| Returns the gate ID at the local end of this connection. More... | |
| cGate * | getLinkInRemoteGate () const |
| Returns the gate at the remote end of this connection. More... | |
| cGate * | getLinkInLocalGate () const |
| Returns the gate at the local end of this connection. More... | |
| Node * | getLinkOutRemoteNode () const |
| Returns the node at the remote end of this connection. More... | |
| Node * | getLinkOutLocalNode () const |
| Returns the node at the local end of this connection. More... | |
| int | getLinkOutRemoteGateId () const |
| Returns the gate ID at the remote end of this connection. More... | |
| int | getLinkOutLocalGateId () const |
| Returns the gate ID at the local end of this connection. More... | |
| cGate * | getLinkOutRemoteGate () const |
| Returns the gate at the remote end of this connection. More... | |
| cGate * | getLinkOutLocalGate () const |
| Returns the gate at the local end of this connection. More... | |
Public Attributes | |
| InterfaceInfo * | sourceInterfaceInfo = nullptr |
| InterfaceInfo * | destinationInterfaceInfo = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from inet::Topology::Link | |
| Node * | srcNode |
| int | srcGateId |
| Node * | destNode |
| int | destGateId |
| double | weight |
| bool | enabled |
Represents a connection (wired or wireless) in the network.
| InterfaceInfo* inet::L3NetworkConfiguratorBase::Link::destinationInterfaceInfo = nullptr |
Referenced by inet::NextHopNetworkConfigurator::addStaticRoutes(), inet::Ipv4NetworkConfigurator::addStaticRoutes(), inet::L3NetworkConfiguratorBase::computeLinkWeight(), inet::L3NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::L3NetworkConfiguratorBase::extractTopology(), and inet::operator<<().
| InterfaceInfo* inet::L3NetworkConfiguratorBase::Link::sourceInterfaceInfo = nullptr |
Referenced by inet::NextHopNetworkConfigurator::addStaticRoutes(), inet::Ipv4NetworkConfigurator::addStaticRoutes(), inet::L3NetworkConfiguratorBase::computeLinkWeight(), inet::L3NetworkConfiguratorBase::computeWiredLinkWeight(), inet::L3NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::L3NetworkConfiguratorBase::extractTopology(), and inet::operator<<().