|
INET Framework for OMNeT++/OMNEST
|
Represents a node in the network. More...
#include <NetworkConfiguratorBase.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... | |
| 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... | |
| LinkIn * | getLinkIn (int i) |
| Returns ith incoming link of graph node. More... | |
| int | getNumOutLinks () const |
| Returns the number of outgoing links from this graph node. More... | |
| LinkOut * | getLinkOut (int i) |
| 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... | |
| LinkOut * | getPath (int) 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 |
| std::vector< Link * > | inLinks |
| std::vector< Link * > | outLinks |
| double | dist |
| Link * | outPath |
Represents a node in the network.
|
inline |
|
inlinevirtual |
Reimplemented from inet::Topology::Node.
Reimplemented in inet::IPv4NetworkConfigurator::Node.
| std::vector<InterfaceInfo *> inet::NetworkConfiguratorBase::Node::interfaceInfos |
Referenced by inet::IPv4NetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::configureAllInterfaces(), inet::NetworkConfiguratorBase::createInterfaceInfo(), inet::IPv4NetworkConfigurator::createInterfaceInfo(), inet::NetworkConfiguratorBase::findInterfaceInfo(), inet::IPv4NetworkConfigurator::findInterfaceOnLinkByNodeAddress(), and inet::IPv4NetworkConfigurator::readManualMulticastRouteConfiguration().
| IInterfaceTable* inet::NetworkConfiguratorBase::Node::interfaceTable = nullptr |
Referenced by inet::GenericNetworkConfigurator::addStaticRoutes(), inet::NetworkConfiguratorBase::extractDeviceNeighbors(), inet::NetworkConfiguratorBase::extractTopology(), inet::NetworkConfiguratorBase::extractWiredNeighbors(), inet::NetworkConfiguratorBase::extractWirelessNeighbors(), inet::NetworkConfiguratorBase::isBridgeNode(), inet::IPv4NetworkConfigurator::readManualMulticastRouteConfiguration(), and inet::IPv4NetworkConfigurator::resolveInterfaceAndGateway().
| cModule* inet::NetworkConfiguratorBase::Node::module = nullptr |
Referenced by inet::IPv4NetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::dumpConfig(), inet::GenericNetworkConfigurator::dumpRoutes(), inet::IPv4NetworkConfigurator::dumpRoutes(), inet::NetworkConfiguratorBase::dumpTopology(), inet::NetworkConfiguratorBase::extractTopology(), inet::NetworkConfiguratorBase::findInterfaceTable(), inet::GenericNetworkConfigurator::findRoutingTable(), inet::IPv4NetworkConfigurator::findRoutingTable(), inet::IPv4NetworkConfigurator::readManualMulticastRouteConfiguration(), inet::IPv4NetworkConfigurator::readManualRouteConfiguration(), and inet::IPv4NetworkConfigurator::resolveInterfaceAndGateway().
| IRoutingTable* inet::NetworkConfiguratorBase::Node::routingTable = nullptr |
Referenced by inet::GenericNetworkConfigurator::addStaticRoutes(), inet::NetworkConfiguratorBase::computeNodeWeight(), inet::IPv4NetworkConfigurator::configureAllRoutingTables(), inet::IPv4NetworkConfigurator::configureRoutingTable(), inet::IPv4NetworkConfigurator::dumpConfig(), inet::GenericNetworkConfigurator::dumpRoutes(), inet::IPv4NetworkConfigurator::dumpRoutes(), inet::NetworkConfiguratorBase::extractTopology(), inet::NetworkConfiguratorBase::isBridgeNode(), inet::IPv4NetworkConfigurator::readManualMulticastRouteConfiguration(), and inet::IPv4NetworkConfigurator::readManualRouteConfiguration().