Prusa MINI Firmware overview
LwIPClass Class Reference

#include <lwsapi_app.hpp>

Inheritance diagram for LwIPClass:

Public Member Functions

virtual ~LwIPClass ()
 

Static Public Member Functions

static voidoperator new (size_t size)
 
static void operator delete (void *ptr)
 

Detailed Description

All classes, which could be dynamical initialized in LwIP thread, must do internal memory pool, or another thread safe allocation. This class have own new/delete operators, which create object instance in LwIP memory pool.

Constructor & Destructor Documentation

◆ ~LwIPClass()

virtual LwIPClass::~LwIPClass ( )
virtual
66 {}

Member Function Documentation

◆ operator new()

static void* LwIPClass::operator new ( size_t  size)
static
58  {
59  return mem_malloc(size);
60  }
Here is the call graph for this function:

◆ operator delete()

static void LwIPClass::operator delete ( void ptr)
static
62  {
63  return mem_free(ptr);
64  }
Here is the call graph for this function:
mem_malloc
void * mem_malloc(mem_size_t size)
Definition: mem.c:603
mem_free
void mem_free(void *rmem)
Definition: mem.c:419
size
static png_bytep size_t size
Definition: pngwrite.c:2170