|
void Init |
( |
const char * |
pGroupName, |
|
|
uint32 |
maxElements, |
|
|
uint32 |
elementSize = sizeof(T) , |
|
|
void * |
pMem = NULL |
|
) |
| |
Allocates memory for the managed pointer list and the maximum number of item instances.
- Parameters
-
pGroupName | String representing a name for the list of pointers. |
maxElements | Maximum number of items the list can store. |
elementSize | Size of a single item in the list. |
pMem | Pointer to an already allocated buffer. The buffer must be a minimum of (maxElements+2)*sizeof(T*) + maxElements*elementSize bytes. |
- Returns
- None.
|