#include <Grid.h>
|
template<class A , class T , class O > |
class | GridLoader |
|
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::~Grid |
( |
| ) |
|
|
inline |
destructor to clean up its resources. This includes unloading the grid if it has not been unload.
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
template<class SPECIFIC_OBJECT >
void Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::AddGridObject |
( |
SPECIFIC_OBJECT * |
obj | ) |
|
|
inline |
Inserts a container type object into the grid.
#define ASSERT
Definition: Errors.h:55
TypeMapContainer< GRID_OBJECT_TYPES > i_container
Definition: Grid.h:138
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
template<class SPECIFIC_OBJECT >
void Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::AddWorldObject |
( |
SPECIFIC_OBJECT * |
obj | ) |
|
|
inline |
an object of interested enters the grid
61 i_objects.template insert<SPECIFIC_OBJECT>(obj);
TypeMapContainer< WORLD_OBJECT_TYPES > i_objects
Definition: Grid.h:139
#define ASSERT
Definition: Errors.h:55
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
template<class T >
uint32 Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::GetWorldObjectCountInGrid |
( |
| ) |
const |
|
inline |
Returns the number of object within the grid.
TypeMapContainer< WORLD_OBJECT_TYPES > i_objects
Definition: Grid.h:139
uint32_t uint32
Definition: g3dmath.h:168
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
template<class T >
an object of interested exits the gridRefreshes/update the grid. This required for remote grids.Locks a grid. Any object enters must wait until the grid is unlock.Unlocks the grid.
void Visit(TYPE_CONTAINER &c)
Definition: TypeContainerVisitor.h:90
TypeMapContainer< GRID_OBJECT_TYPES > i_container
Definition: Grid.h:138
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
template<class T >
void Visit(TYPE_CONTAINER &c)
Definition: TypeContainerVisitor.h:90
TypeMapContainer< WORLD_OBJECT_TYPES > i_objects
Definition: Grid.h:139
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
template<class A , class T , class O >
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
TypeMapContainer<GRID_OBJECT_TYPES> Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::i_container |
|
private |
Removes a containter type object from the grid
template<class ACTIVE_OBJECT , class WORLD_OBJECT_TYPES , class GRID_OBJECT_TYPES >
TypeMapContainer<WORLD_OBJECT_TYPES> Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::i_objects |
|
private |
The documentation for this class was generated from the following file: