QP/C++  7.0.1
Real-Time Embedded Framework
qmpool.hpp File Reference

platform-independent memory pool QP::QMPool interface. More...

Go to the source code of this file.

Classes

class  QMPool
 Native QF memory pool class. More...
 

Namespaces

namespace  QP
 QP/C++ framework.
 

Macros

#define QF_MPOOL_EL(type_)    struct { void *sto_[((sizeof(type_) - 1U)/sizeof(void*)) + 1U]; }
 Memory pool element to allocate correctly aligned storage for QP::QMPool. More...
 

Typedefs

using QMPoolSize = std::uint16_t
 The data type to store the block-size based on the macro QF_MPOOL_SIZ_SIZE. More...
 
using QMPoolCtr = std::uint16_t
 The data type to store the block-counter based on the macro QF_MPOOL_CTR_SIZE. More...
 

Detailed Description

Date
Last updated on: 2022-06-15
Version
Last updated for: Version 7.0.1, 2022-07-31

Definition in file qmpool.hpp.

Macro Definition Documentation

◆ QF_MPOOL_EL

#define QF_MPOOL_EL (   type_)     struct { void *sto_[((sizeof(type_) - 1U)/sizeof(void*)) + 1U]; }

Definition at line 61 of file qmpool.hpp.