#include "ProxNodeHandle.h"Go to the source code of this file.
Defines | |
| #define | MAXTIME_DBL 9223372036.854775807 |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Prox &prox) |
Definition in file ProxNodeHandle.cc.
| #define MAXTIME_DBL 9223372036.854775807 |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Prox & | prox | |||
| ) |
Definition at line 72 of file ProxNodeHandle.cc.
00073 { 00074 if (prox == Prox::PROX_SELF) os << "[self]"; 00075 else if (prox == Prox::PROX_UNKNOWN) os << "[unknown]"; 00076 else if (prox == Prox::PROX_TIMEOUT) os << "[timeout]"; 00077 else { 00078 os << prox.proximity; 00079 if (prox.accuracy != 1) os << " (a=" << prox.accuracy << ")"; 00080 } 00081 return os; 00082 }
1.5.8