Defines the basic cell updater of the space hash. More...
#include <space_hash.h>
Public Member Functions | |
virtual | ~CSpaceHashUpdater () |
Class destructor. More... | |
virtual void | operator() (CAbstractSpaceHash< ENTITY > &c_space_hash, ENTITY &c_entity)=0 |
Updates the necessary cells of a space hash. More... | |
Defines the basic cell updater of the space hash.
If you want to store your entities in a space hash, you need to implement this interface. The aim of this class is to call CAbstractSpaceHash::UpdateCell() for each cell in which the entity must be contained.
Entity | The type of entity held by the corresponding space hash |
Definition at line 269 of file space_hash.h.
|
inlinevirtual |
Class destructor.
Definition at line 276 of file space_hash.h.
|
pure virtual |
Updates the necessary cells of a space hash.
c_space_hash | The space hash to update |
c_entity | The entity indexed by the space hash. |
Implemented in argos::CTagEntitySpaceHashUpdater, argos::CRadioEntitySpaceHashUpdater, argos::CDirectionalLEDEntitySpaceHashUpdater, argos::CLEDEntitySpaceHashUpdater, and argos::CRABEquippedEntitySpaceHashUpdater.