|
INET Framework for OMNeT++/OMNEST
|
Represents a node in the network. More...
#include <L3NetworkConfiguratorBase.h>
Public Member Functions | |
| Node (cModule *module) | |
| virtual | ~Node () |
Public Member Functions inherited from inet::Topology::Node | |
| Node (int moduleId=-1) | |
| Constructor. More... | |
| int | getModuleId () const |
| Returns the ID of the network module to which this node corresponds. More... | |
| cModule * | getModule () const |
| Returns the pointer to the network module to which this node corresponds. More... | |
| double | getWeight () const |
| Returns the weight of this node. More... | |
| void | setWeight (double d) |
| Sets the weight of this node. More... | |
| double | getNetworkId () const |
| Returns the ID of the network to which this node corresponds. More... | |
| void | setNetworkId (int g) |
| Sets the ID of the network to which this node corresponds. More... | |
| bool | isVisited () const |
| Returns true if the node has been visited before in a traversal,. More... | |
| void | setVisited (bool v) |
| Marks this node as visited or not visited in a traversal. More... | |
| bool | isEnabled () const |
| Returns true of this node is enabled. More... | |
| void | enable () |
| Enable this node. More... | |
| void | disable () |
| Disable this node. More... | |
| int | getNumInLinks () const |
| Returns the number of incoming links to this graph node. More... | |
| Link * | getLinkIn (int i) const |
| Returns ith incoming link of graph node. More... | |
| int | getNumOutLinks () const |
| Returns the number of outgoing links from this graph node. More... | |
| Link * | getLinkOut (int i) const |
| Returns ith outgoing link of graph node. More... | |
| double | getDistanceToTarget () const |
| Returns the distance of this node to the target node. More... | |
| int | getNumPaths () const |
| Returns the number of shortest paths towards the target node. More... | |
| Link * | getPath (int i) const |
| Returns the next link in the ith shortest paths towards the target node. More... | |
Public Attributes | |
| cModule * | module = nullptr |
| IInterfaceTable * | interfaceTable = nullptr |
| IRoutingTable * | routingTable = nullptr |
| std::vector< InterfaceInfo * > | interfaceInfos |
Additional Inherited Members | |
Protected Attributes inherited from inet::Topology::Node | |
| int | moduleId |
| double | weight |
| bool | enabled |
| bool | visited |
| int | networkId |
| std::vector< Link * > | inLinks |
| std::vector< Link * > | outLinks |
| double | dist |
| std::vector< Link * > | outPaths |
Represents a node in the network.
|
inline |
|
inlinevirtual |
| std::vector<InterfaceInfo *> inet::L3NetworkConfiguratorBase::Node::interfaceInfos |
Referenced by inet::Ipv4NetworkConfigurator::addStaticRoutes(), inet::Ipv4NetworkConfigurator::configureAllInterfaces(), inet::L3NetworkConfiguratorBase::createInterfaceInfo(), inet::Ipv4NetworkConfigurator::createInterfaceInfo(), inet::L3NetworkConfiguratorBase::findInterfaceInfo(), inet::Ipv4NetworkConfigurator::findInterfaceOnLinkByNodeAddress(), and inet::Ipv4NetworkConfigurator::readManualMulticastRouteConfiguration().
| IInterfaceTable* inet::L3NetworkConfiguratorBase::Node::interfaceTable = nullptr |
Referenced by inet::NextHopNetworkConfigurator::addStaticRoutes(), inet::L3NetworkConfiguratorBase::extractDeviceNeighbors(), inet::L3NetworkConfiguratorBase::extractTopology(), inet::L3NetworkConfiguratorBase::extractWiredNeighbors(), inet::L3NetworkConfiguratorBase::extractWirelessNeighbors(), inet::L3NetworkConfiguratorBase::isBridgeNode(), inet::Ipv4NetworkConfigurator::readManualMulticastRouteConfiguration(), and inet::Ipv4NetworkConfigurator::resolveInterfaceAndGateway().
| cModule* inet::L3NetworkConfiguratorBase::Node::module = nullptr |
Referenced by inet::Ipv4NetworkConfigurator::addStaticRoutes(), inet::Ipv4NetworkConfigurator::dumpConfig(), inet::NextHopNetworkConfigurator::dumpRoutes(), inet::Ipv4NetworkConfigurator::dumpRoutes(), inet::L3NetworkConfiguratorBase::dumpTopology(), inet::L3NetworkConfiguratorBase::extractTopology(), inet::L3NetworkConfiguratorBase::findInterfaceTable(), inet::NextHopNetworkConfigurator::findRoutingTable(), inet::Ipv4NetworkConfigurator::findRoutingTable(), inet::Ipv4NetworkConfigurator::readManualMulticastRouteConfiguration(), inet::Ipv4NetworkConfigurator::readManualRouteConfiguration(), and inet::Ipv4NetworkConfigurator::resolveInterfaceAndGateway().
| IRoutingTable* inet::L3NetworkConfiguratorBase::Node::routingTable = nullptr |
Referenced by inet::NextHopNetworkConfigurator::addStaticRoutes(), inet::L3NetworkConfiguratorBase::computeNodeWeight(), inet::Ipv4NetworkConfigurator::configureAllRoutingTables(), inet::Ipv4NetworkConfigurator::configureRoutingTable(), inet::Ipv4NetworkConfigurator::dumpConfig(), inet::NextHopNetworkConfigurator::dumpRoutes(), inet::Ipv4NetworkConfigurator::dumpRoutes(), inet::L3NetworkConfiguratorBase::extractTopology(), inet::L3NetworkConfiguratorBase::isBridgeNode(), inet::Ipv4NetworkConfigurator::readManualMulticastRouteConfiguration(), and inet::Ipv4NetworkConfigurator::readManualRouteConfiguration().