arduino-audio-tools
|
Memory allocateator which uses malloc. More...
#include <Allocator.h>
Public Member Functions | |
virtual void * | allocate (size_t size) |
Allocates memory. | |
template<class T > | |
T * | create () |
template<class T > | |
T * | createArray (int len) |
virtual void | free (void *memory) |
frees memory | |
template<class T > | |
void | remove (T *obj) |
deletes an object | |
template<class T > | |
void | removeArray (T *obj, int len) |
Protected Member Functions | |
virtual void * | do_allocate (size_t size) |
Memory allocateator which uses malloc.