proland::CPUTileStorage< T >::CPUSlot Class Reference

A slot managed by a CPUTileStorage. More...

#include <CPUTileStorage.h>

Inheritance diagram for proland::CPUTileStorage< T >::CPUSlot:
proland::TileStorage::Slot

List of all members.

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.

Detailed Description

template<class T>
class proland::CPUTileStorage< T >::CPUSlot

A slot managed by a CPUTileStorage.


Constructor & Destructor Documentation

template<class T >
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.

Parameters:
owner the TileStorage that manages this slot.
size the number of elements in the data array.
template<class T >
virtual proland::CPUTileStorage< T >::CPUSlot::~CPUSlot (  )  [inline, virtual]

Deletes this CPUSlot.

This deletes the data array.


Member Data Documentation

template<class T >
T* proland::CPUTileStorage< T >::CPUSlot::data

The data of the tile stored in this slot.

template<class T >
int proland::CPUTileStorage< T >::CPUSlot::size

The number of elements in the data array.


Generated on Sat May 12 09:41:37 2012 for proland by  doxygen 1.6.1