INET Framework for OMNeT++/OMNEST
inet::StreamRedundancyConfigurator::Node Class Reference

Represents a node in the network. More...

#include <StreamRedundancyConfigurator.h>

Inheritance diagram for inet::StreamRedundancyConfigurator::Node:
inet::NetworkConfiguratorBase::Node inet::Topology::Node

Public Member Functions

 Node (cModule *module)
 
- Public Member Functions inherited from inet::NetworkConfiguratorBase::Node
 Node (cModule *module)
 
 ~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...
 
LinkgetLinkIn (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...
 
LinkgetLinkOut (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...
 
LinkgetPath (int i) const
 Returns the next link in the ith shortest paths towards the target node. More...
 

Public Attributes

std::vector< StreamIdentificationstreamIdentifications
 
std::vector< StreamEncodingstreamEncodings
 
std::vector< StreamDecodingstreamDecodings
 
std::vector< StreamMergingstreamMergings
 
std::vector< StreamSplittingstreamSplittings
 
- Public Attributes inherited from inet::NetworkConfiguratorBase::Node
cModule * module
 
IInterfaceTableinterfaceTable
 
IRoutingTableroutingTable = nullptr
 
std::vector< Interface * > interfaces
 

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
 

Detailed Description

Represents a node in the network.

Constructor & Destructor Documentation

◆ Node()

inet::StreamRedundancyConfigurator::Node::Node ( cModule *  module)
inline
69 : NetworkConfiguratorBase::Node(module) { }

Member Data Documentation

◆ streamDecodings

std::vector<StreamDecoding> inet::StreamRedundancyConfigurator::Node::streamDecodings

◆ streamEncodings

std::vector<StreamEncoding> inet::StreamRedundancyConfigurator::Node::streamEncodings

◆ streamIdentifications

std::vector<StreamIdentification> inet::StreamRedundancyConfigurator::Node::streamIdentifications

◆ streamMergings

std::vector<StreamMerging> inet::StreamRedundancyConfigurator::Node::streamMergings

◆ streamSplittings

std::vector<StreamSplitting> inet::StreamRedundancyConfigurator::Node::streamSplittings

The documentation for this class was generated from the following file:
inet::NetworkConfiguratorBase::Node::module
cModule * module
Definition: NetworkConfiguratorBase.h:28