#include <IndexedActiveList.h>
Public Member Functions | |
IndexedActiveList () | |
virtual | ~IndexedActiveList () |
virtual void | deletePriorObjects (double boundary, ObjectConsumer *uActiveCons) |
virtual void | pushBack (Object const *object, bool matchedPreviously=false) |
virtual bool | testObject (Object const *testObject, double upperLimitOnDistance, ObjectPairConsumer *matchedConsumer) |
virtual void | clear (ObjectConsumer *uActiveCons) |
virtual void | finished (ObjectConsumer *uActiveCons) |
virtual bool | isEmpty () |
virtual ActiveObject * | popFront () |
Private Member Functions | |
IndexedActiveList (IndexedActiveList const &) | |
IndexedActiveList & | operator= (IndexedActiveList const &) |
ALElement * | remove (ALElement *i) |
Private Attributes | |
ALStructure * | activeStructure |
double | activeMaxSD |
Definition at line 28 of file IndexedActiveList.h.
IndexedActiveList::IndexedActiveList | ( | ) |
Definition at line 27 of file IndexedActiveList.cpp.
References activeStructure.
IndexedActiveList::~IndexedActiveList | ( | ) | [virtual] |
Definition at line 33 of file IndexedActiveList.cpp.
References activeStructure, and ActiveList::profiler.
IndexedActiveList::IndexedActiveList | ( | IndexedActiveList const & | ) | [private] |
void IndexedActiveList::clear | ( | ObjectConsumer * | uActiveCons | ) | [virtual] |
Implements ActiveList.
Definition at line 202 of file IndexedActiveList.cpp.
References activeStructure, ALElement::getContent(), ALStructure::getDecHead(), ActiveObject::getObject(), ALStructure::getTail(), ActiveObject::isMatched(), and ObjectConsumer::report().
Referenced by finished().
void IndexedActiveList::deletePriorObjects | ( | double | boundary, | |
ObjectConsumer * | uActiveCons | |||
) | [virtual] |
Implements ActiveList.
Definition at line 60 of file IndexedActiveList.cpp.
References activeStructure, ALElement::getContent(), Object::getDec(), ALStructure::getDecHead(), ActiveObject::getObject(), ALStructure::getTail(), ActiveObject::isMatched(), and ObjectConsumer::report().
void IndexedActiveList::finished | ( | ObjectConsumer * | uActiveCons | ) | [virtual] |
bool IndexedActiveList::isEmpty | ( | ) | [virtual] |
Implements ActiveList.
Definition at line 228 of file IndexedActiveList.cpp.
References activeStructure, and ALStructure::getSize().
IndexedActiveList& IndexedActiveList::operator= | ( | IndexedActiveList const & | ) | [private] |
ActiveObject * IndexedActiveList::popFront | ( | ) | [virtual] |
Implements ActiveList.
Definition at line 233 of file IndexedActiveList.cpp.
References activeStructure, ALElement::getContent(), and ALStructure::getDecHead().
void IndexedActiveList::pushBack | ( | Object const * | object, | |
bool | matchedPreviously = false | |||
) | [virtual] |
Implements ActiveList.
Definition at line 40 of file IndexedActiveList.cpp.
References activeStructure, and ALStructure::add().
Definition at line 47 of file IndexedActiveList.cpp.
References activeStructure, ALStructure::getDecHead(), ALElement::getNextDec(), ALElement::getPrevDec(), and ALStructure::remove().
bool IndexedActiveList::testObject | ( | Object const * | testObject, | |
double | upperLimitOnDistance, | |||
ObjectPairConsumer * | matchedConsumer | |||
) | [virtual] |
Implements ActiveList.
Definition at line 102 of file IndexedActiveList.cpp.
References activeStructure, Object::computeRACorrection(), ALStructure::findLeastGE(), ALElement::getContent(), Object::getDec(), ALElement::getNextRa(), ActiveObject::getObject(), Object::getRa(), ALStructure::getRaHead(), ALStructure::getSize(), ALStructure::getTail(), ActiveObject::markMatched(), ActiveList::profiler, and ObjectPairConsumer::report().
double IndexedActiveList::activeMaxSD [private] |
Definition at line 48 of file IndexedActiveList.h.
ALStructure* IndexedActiveList::activeStructure [private] |
Definition at line 47 of file IndexedActiveList.h.
Referenced by clear(), deletePriorObjects(), IndexedActiveList(), isEmpty(), popFront(), pushBack(), remove(), testObject(), and ~IndexedActiveList().