INET Framework for OMNeT++/OMNEST
|
Represents a connection (wired or wireless) in the network. More...
#include <NetworkConfiguratorBase.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... | |
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::NetworkConfiguratorBase::Link::destinationInterfaceInfo = nullptr |
Referenced by inet::GenericNetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::addStaticRoutes(), inet::NetworkConfiguratorBase::computeLinkWeight(), inet::NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::NetworkConfiguratorBase::extractTopology(), and inet::operator<<().
InterfaceInfo* inet::NetworkConfiguratorBase::Link::sourceInterfaceInfo = nullptr |
Referenced by inet::GenericNetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::addStaticRoutes(), inet::NetworkConfiguratorBase::computeLinkWeight(), inet::NetworkConfiguratorBase::computeWiredLinkWeight(), inet::NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::NetworkConfiguratorBase::extractTopology(), and inet::operator<<().