TinyTelnetServer
Public Member Functions | Protected Member Functions | List of all members
AllocatorPSRAM Class Reference

Memory allocateator which uses ps_malloc to allocate the memory in PSRAM on the ESP32. More...

#include <Allocator.h>

Inheritance diagram for AllocatorPSRAM:
Allocator

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 stop ()
 

Detailed Description

Memory allocateator which uses ps_malloc to allocate the memory in PSRAM on the ESP32.

Author
Phil Schatzmann

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