OverSim
|
#include <NTreeHelper.h>
Public Member Functions | |
bool | isInScope (const Vector2D &p) const |
NTreeGroup (const NTreeScope &_scope) | |
NTreeGroup (const Vector2D &_origin, double _size) |
Public Attributes | |
NodeHandle | leader |
std::set< NodeHandle > | members |
NTreeScope | scope |
bool | dividePending |
Friends | |
bool | operator== (const NTreeGroup &a, const NTreeGroup &b) |
bool | operator< (const NTreeGroup &a, const NTreeGroup &b) |
std::ostream & | operator<< (std::ostream &Stream, const NTreeGroup &group) |
Definition at line 49 of file NTreeHelper.h.
NTreeGroup::NTreeGroup | ( | const NTreeScope & | _scope | ) |
Definition at line 67 of file NTreeHelper.cc.
NTreeGroup::NTreeGroup | ( | const Vector2D & | _origin, |
double | _size | ||
) |
Definition at line 73 of file NTreeHelper.cc.
bool NTreeGroup::isInScope | ( | const Vector2D & | p | ) | const |
Definition at line 79 of file NTreeHelper.cc.
|
friend |
Definition at line 84 of file NTreeHelper.cc.
|
friend |
|
friend |
Definition at line 89 of file NTreeHelper.cc.
bool NTreeGroup::dividePending |
Definition at line 55 of file NTreeHelper.h.
Referenced by NTreeGroup().
NodeHandle NTreeGroup::leader |
Definition at line 52 of file NTreeHelper.h.
Referenced by NTree::collapseTree(), NTree::handleAppMessage(), NTree::handleDivideCall(), NTree::handleJoinResponse(), and operator<<().
std::set<NodeHandle> NTreeGroup::members |
Definition at line 53 of file NTreeHelper.h.
Referenced by NTree::collapseTree(), NTree::handleAppMessage(), NTree::handleDivideCall(), operator<<(), and NTree::sendToGroup().
NTreeScope NTreeGroup::scope |
Definition at line 54 of file NTreeHelper.h.
Referenced by isInScope(), operator<(), operator<<(), operator==(), and NTree::sendToGroup().