QP/C++
Classes | Defines
qequeue.h File Reference

platform-independent event queue interface. More...

Go to the source code of this file.

Classes

class  QEQueue
 Native QF Event Queue class. More...

Defines

#define QF_EQUEUE_CTR_SIZE   1
 The size (in bytes) of the ring-buffer counters used in the native QF event queue implementation. Valid values: 1, 2, or 4; default 1.

Detailed Description

platform-independent event queue interface.

This header file must be included in all QF ports that use native QF event queue implementation. Also, this file is needed when the "raw" thread-safe queues are used for communication between active objects and non-framework entities, such as ISRs, device drivers, or legacy code.

Definition in file qequeue.h.


Define Documentation

#define QF_EQUEUE_CTR_SIZE   1

The size (in bytes) of the ring-buffer counters used in the native QF event queue implementation. Valid values: 1, 2, or 4; default 1.

This macro can be defined in the QF port file (qf_port.h) to configure the ::QEQueueCtr type. Here the macro is not defined so the default of 1 byte is chosen.

Definition at line 54 of file qequeue.h.