INET Framework for OMNeT++/OMNEST
inet::FailureProtectionConfigurator::Path Class Reference

#include <FailureProtectionConfigurator.h>

Public Member Functions

 Path (const std::vector< const Interface * > &interfaces)
 

Public Attributes

std::vector< const Interface * > interfaces
 

Friends

std::ostream & operator<< (std::ostream &os, const FailureProtectionConfigurator::Path &path)
 

Constructor & Destructor Documentation

◆ Path()

inet::FailureProtectionConfigurator::Path::Path ( const std::vector< const Interface * > &  interfaces)
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const FailureProtectionConfigurator::Path path 
)
friend
27  {
28  os << "[";
29  for (int i = 0; i < path.interfaces.size(); i++) {
30  auto interface = path.interfaces[i];
31  if (i != 0)
32  os << ", ";
33  os << interface->node->module->getFullName();
35  os << "." << interface->networkInterface->getInterfaceName();
36  }
37  os << "]";
38  return os;
39  }

Member Data Documentation

◆ interfaces

std::vector<const Interface *> inet::FailureProtectionConfigurator::Path::interfaces

The documentation for this class was generated from the following file:
inet::FailureProtectionConfigurator::countParalellLinks
static int countParalellLinks(const Interface *interface)
Definition: FailureProtectionConfigurator.h:95
inet::FailureProtectionConfigurator::Path::interfaces
std::vector< const Interface * > interfaces
Definition: FailureProtectionConfigurator.h:21