A slot managed by a CPUTileStorage. More...
#include <CPUTileStorage.h>
Public Member Functions | |
CPUSlot (TileStorage *owner, int size) | |
Creates a new CPUSlot. | |
virtual | ~CPUSlot () |
Deletes this CPUSlot. | |
Public Attributes | |
T * | data |
The data of the tile stored in this slot. | |
int | size |
The number of elements in the data array. |
A slot managed by a CPUTileStorage.
proland::CPUTileStorage< T >::CPUSlot::CPUSlot | ( | TileStorage * | owner, | |
int | size | |||
) | [inline] |
Creates a new CPUSlot.
This constructor creates a new array to store the tile data.
owner | the TileStorage that manages this slot. | |
size | the number of elements in the data array. |
virtual proland::CPUTileStorage< T >::CPUSlot::~CPUSlot | ( | ) | [inline, virtual] |
T* proland::CPUTileStorage< T >::CPUSlot::data |
The data of the tile stored in this slot.
int proland::CPUTileStorage< T >::CPUSlot::size |
The number of elements in the data array.