PastryNeighborhoodSet.h File Reference

#include <vector>
#include <omnetpp.h>
#include <NodeHandle.h>
#include "PastryStateObject.h"
#include "PastryTypes.h"
#include "PastryMessage_m.h"

Go to the source code of this file.

Classes

class  PastryNeighborhoodSet
 PastryNeighborhoodSet module. More...

Functions

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.h.


Function Documentation

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