NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::TopologyLinkInformation Class Reference

this class represents a topology edge between 2 nodes More...

#include <TopologyLinkInformation.hpp>

Collaboration diagram for NES::TopologyLinkInformation:
[legend]

Public Member Functions

 TopologyLinkInformation (WorkerId upstreamTopologyNode, WorkerId downstreamTopologyNode)
 
 TopologyLinkInformation (WorkerId::Underlying upstreamTopologyNode, WorkerId::Underlying downstreamTopologyNode)
 
std::string toString () const
 get a string representation of this edge More...
 
bool operator== (const TopologyLinkInformation &other) const
 Two edges are equal if they have the same child and the same parent. More...
 

Public Attributes

WorkerId upstreamTopologyNode
 
WorkerId downstreamTopologyNode
 

Detailed Description

this class represents a topology edge between 2 nodes

Constructor & Destructor Documentation

◆ TopologyLinkInformation() [1/2]

NES::TopologyLinkInformation::TopologyLinkInformation ( WorkerId  upstreamTopologyNode,
WorkerId  downstreamTopologyNode 
)

◆ TopologyLinkInformation() [2/2]

NES::TopologyLinkInformation::TopologyLinkInformation ( WorkerId::Underlying  upstreamTopologyNode,
WorkerId::Underlying  downstreamTopologyNode 
)

Member Function Documentation

◆ operator==()

bool NES::TopologyLinkInformation::operator== ( const TopologyLinkInformation other) const

Two edges are equal if they have the same child and the same parent.

Parameters
otherthe edge to compare this edge with
Returns
true if the edges are equal

References downstreamTopologyNode, and upstreamTopologyNode.

◆ toString()

std::string NES::TopologyLinkInformation::toString ( ) const

get a string representation of this edge

Returns
a string in the format "UPSTREAM_ID->DOWNSTREAM_ID"

References downstreamTopologyNode, and upstreamTopologyNode.

Member Data Documentation

◆ downstreamTopologyNode

WorkerId NES::TopologyLinkInformation::downstreamTopologyNode

Referenced by operator==(), and toString().

◆ upstreamTopologyNode

WorkerId NES::TopologyLinkInformation::upstreamTopologyNode

Referenced by operator==(), and toString().


The documentation for this class was generated from the following files: