OverSim
PastryNeighborhoodSet.cc File Reference
#include "PastryNeighborhoodSet.h"
#include "PastryTypes.h"

Go to the source code of this file.

Functions

 Define_Module (PastryNeighborhoodSet)
std::ostream & operator<< (std::ostream &os, const PastryExtendedNode &n)
 Stream output operator to make WATCH() do something useful with the neighborhood set.

Detailed Description

Author
Felix Palmen

Definition in file PastryNeighborhoodSet.cc.

Function Documentation

Define_Module ( PastryNeighborhoodSet  )
std::ostream& operator<< ( std::ostream &  os,
const PastryExtendedNode n 
)

Stream output operator to make WATCH() do something useful with the neighborhood set.

Definition at line 164 of file PastryNeighborhoodSet.cc.

{
os << n.node << ";";
if (n.rtt != SimTime::getMaxTime())
os << " Ping: " << n.rtt;
return os;
}