#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.
: scope(_scope) { dividePending = false; }
NTreeGroup::NTreeGroup | ( | const Vector2D & | _origin, | |
double | _size | |||
) |
Definition at line 73 of file NTreeHelper.cc.
: scope(_origin,_size) { dividePending = false; }
bool NTreeGroup::isInScope | ( | const Vector2D & | p | ) | const |
Definition at line 79 of file NTreeHelper.cc.
Referenced by NTree::handleMove().
bool operator< | ( | const NTreeGroup & | a, | |
const NTreeGroup & | b | |||
) | [friend] |
Definition at line 84 of file NTreeHelper.cc.
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const NTreeGroup & | group | |||
) | [friend] |
bool operator== | ( | const NTreeGroup & | a, | |
const NTreeGroup & | b | |||
) | [friend] |
Definition at line 89 of file NTreeHelper.cc.
Definition at line 55 of file NTreeHelper.h.
Referenced by NTreeGroup().
Definition at line 52 of file NTreeHelper.h.
Referenced by NTree::collapseTree(), NTree::handleAppMessage(), NTree::handleDivideCall(), operator<<(), and NTree::routeViaNTree().
std::set<NodeHandle> NTreeGroup::members |
Definition at line 53 of file NTreeHelper.h.
Referenced by NTree::collapseTree(), NTree::handleAppMessage(), NTree::handleDivideCall(), NTree::handleMove(), operator<<(), and NTree::sendToGroup().
Definition at line 54 of file NTreeHelper.h.
Referenced by NTree::handleMove(), isInScope(), operator<(), operator<<(), operator==(), and NTree::sendToGroup().