amino  1.0-beta2
Lightweight Robot Utility Library
aa_mem_pool_t Struct Reference

Data Structure for Object pools. More...

#include <mem.h>

Public Attributes

size_t size
 size of each element
 
void * top
 top of list of free elements
 
aa_mem_region_t region
 memory region to allocate from
 

Detailed Description

Data Structure for Object pools.

Memory pools provide fast allocation and deallocation of fixed-size objects.

This implimentation uses a memory region to allocation from, which allows fast deallocation of all objects in the pool.

Definition at line 399 of file mem.h.


The documentation for this struct was generated from the following file: