Linux Face / QPFramework
Embed: (wiki syntax)

« Back to documentation index

qmpool.h File Reference

qmpool.h File Reference

platform-independent memory pool interface. More...

Go to the source code of this file.

Data Structures

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

Typedefs

typedef uint8_t QMPoolSize
 The data type to store the block-size based on the macro QF_MPOOL_SIZ_SIZE.
typedef uint8_t QMPoolCtr
 The data type to store the block-counter based on the macro QF_MPOOL_CTR_SIZE.

Detailed Description

platform-independent memory pool interface.

This header file must be included in all QF ports that use native QF memory pool implementation.

Definition in file qmpool.h.


Typedef Documentation

typedef uint32_t QMPoolCtr

The data type to store the block-counter based on the macro QF_MPOOL_CTR_SIZE.

The dynamic range of this data type determines the maximum number of blocks that can be stored in the pool.

Definition at line 76 of file qmpool.h.

typedef uint32_t QMPoolSize

The data type to store the block-size based on the macro QF_MPOOL_SIZ_SIZE.

The dynamic range of this data type determines the maximum size of blocks that can be managed by the native QF event pool.

Definition at line 52 of file qmpool.h.