amino
Lightweight Robot Utility Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 347 of file mem.h.


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