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 154 of file PastryNeighborhoodSet.cc.

00155 {
00156     os << n.node << ";";
00157     if (n.rtt != SimTime::getMaxTime())
00158         os << " Ping: " << n.rtt;
00159 
00160     return os;
00161 }

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3