PUMA Library Reference Manual
Loading...
Searching...
No Matches
ConstSizeMemPool.h File Reference

Description

Constant size memory block pool implementation.

#include "Puma/Chain.h"
#include <assert.h>
#include <stdlib.h>

Classes

class  Puma::ConstSizeMemPool< N >
 Constant size memory block pool. More...
 

Namespaces

namespace  Puma
 

Functions

template<int N>
void * Puma::malloc ()
 Constant size memory block pool variant of malloc(). More...
 
template<int N>
void Puma::free (void *block)
 Constant size memory block pool variant of free(). More...
 
template<int N>
void Puma::clean ()
 Short-cut function for calling method clean() on the corresponding fixed size memory block pool instance. More...