ESP32 Memory allocateator which forces the allocation with the defined attributes (default MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL).
More...
#include <CodecOpusOgg.h>
|
| | AllocatorESP32 (int caps=MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL) |
| | AllocatorESP32 (int caps=MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL) |
| virtual void * | allocate (size_t size) |
| | Allocates memory.
|
| virtual void * | allocate (size_t size) |
| | Allocates memory.
|
| template<class T> |
| T * | create () |
| template<class T> |
| T * | create () |
| template<class T> |
| T * | createArray (int len) |
| template<class T> |
| T * | createArray (int len) |
| void * | do_allocate (size_t size) |
| void * | do_allocate (size_t size) |
| virtual void | free (void *memory) |
| | frees memory
|
| virtual void | free (void *memory) |
| | frees memory
|
| template<class T> |
| void | remove (T *obj) |
| | deletes an object
|
| template<class T> |
| void | remove (T *obj) |
| | deletes an object
|
| template<class T> |
| void | removeArray (T *obj, int len) |
| template<class T> |
| void | removeArray (T *obj, int len) |
ESP32 Memory allocateator which forces the allocation with the defined attributes (default MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL).
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ AllocatorESP32() [1/2]
| AllocatorESP32 |
( |
int | caps = MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | ) |
|
|
inline |
◆ AllocatorESP32() [2/2]
| AllocatorESP32 |
( |
int | caps = MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | ) |
|
|
inline |
◆ allocate() [1/2]
| virtual void * allocate |
( |
size_t | size | ) |
|
|
inlinevirtualinherited |
◆ allocate() [2/2]
| virtual void * allocate |
( |
size_t | size | ) |
|
|
inlinevirtualinherited |
◆ create() [1/2]
◆ create() [2/2]
◆ createArray() [1/2]
template<class T>
| T * createArray |
( |
int | len | ) |
|
|
inlineinherited |
◆ createArray() [2/2]
template<class T>
| T * createArray |
( |
int | len | ) |
|
|
inlineinherited |
◆ do_allocate() [1/2]
| void * do_allocate |
( |
size_t | size | ) |
|
|
inlinevirtual |
◆ do_allocate() [2/2]
| void * do_allocate |
( |
size_t | size | ) |
|
|
inlinevirtual |
◆ free() [1/2]
| virtual void free |
( |
void * | memory | ) |
|
|
inlinevirtualinherited |
◆ free() [2/2]
| virtual void free |
( |
void * | memory | ) |
|
|
inlinevirtualinherited |
◆ remove() [1/2]
◆ remove() [2/2]
◆ removeArray() [1/2]
template<class T>
| void removeArray |
( |
T * | obj, |
|
|
int | len ) |
|
inlineinherited |
◆ removeArray() [2/2]
template<class T>
| void removeArray |
( |
T * | obj, |
|
|
int | len ) |
|
inlineinherited |
◆ caps
The documentation for this class was generated from the following files: