Zephyr allocator using the kernel heap (k_malloc / k_free). This is the standard allocator for Zephyr builds.
More...
#include <Allocator.h>
|
| virtual void * | allocate (size_t size) |
| | Allocates memory.
|
| |
| template<class T > |
| T * | create () |
| |
| template<class T > |
| T * | createArray (int len) |
| |
| void * | do_allocate (size_t size) override |
| |
| void | free (void *memory) override |
| | frees memory
|
| |
| template<class T > |
| void | remove (T *obj) |
| | deletes an object
|
| |
| template<class T > |
| void | removeArray (T *obj, int len) |
| |
Zephyr allocator using the kernel heap (k_malloc / k_free). This is the standard allocator for Zephyr builds.
◆ allocate()
| virtual void * allocate |
( |
size_t |
size | ) |
|
|
inlinevirtualinherited |
◆ create()
◆ createArray()
template<class T >
| T * createArray |
( |
int |
len | ) |
|
|
inlineinherited |
◆ do_allocate()
| void * do_allocate |
( |
size_t |
size | ) |
|
|
inlineoverridevirtual |
◆ free()
| void free |
( |
void * |
memory | ) |
|
|
inlineoverridevirtual |
◆ remove()
◆ removeArray()
template<class T >
| void removeArray |
( |
T * |
obj, |
|
|
int |
len |
|
) |
| |
|
inlineinherited |
The documentation for this class was generated from the following file:
- src/AudioTools/CoreAudio/AudioBasic/Collections/Allocator.h