#include <VastDefs.h>
Some structures needed for building a voronoi diagram and maintaining the overlays neighbors.
Public Member Functions | |
Site () | |
Public Attributes | |
Vector2D | coord |
unsigned char | type |
bool | innerEdge [3] |
bool | outerEdge |
bool | isAdded |
NodeHandle | addr |
double | tstamp |
Friends | |
std::ostream & | operator<< (std::ostream &Stream, const Site s) |
Site::Site | ( | ) |
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const Site | s | |||
) | [friend] |
00039 { 00040 Stream << "Type: "; 00041 if(s.type & UNDEF) Stream << "Undefined "; 00042 if(s.type & THIS) Stream << "This "; 00043 if(s.type & ENCLOSING) Stream << "Enclosing "; 00044 if(s.type & NEIGHBOR) Stream << "Inner "; 00045 if(s.type & BOUNDARY) Stream << "Boundary "; 00046 if(s.type & NEW) Stream << "Discovered "; 00047 return Stream << " IP: " << s.addr.ip; 00048 }
unsigned char Site::type |
bool Site::innerEdge[3] |
bool Site::outerEdge |
bool Site::isAdded |
double Site::tstamp |