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.

Typedefs

typedef uint8_t QEQueueCtr
 The data type to store the ring-buffer counters based on the macro QF_EQUEUE_CTR_SIZE.


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 50 of file qequeue.h.


Typedef Documentation

typedef uint8_t QEQueueCtr

The data type to store the ring-buffer counters based on the macro QF_EQUEUE_CTR_SIZE.

The dynamic range of this data type determines the maximum length of the ring buffer managed by the native QF event queue.

Definition at line 59 of file qequeue.h.


Generated on Sat Nov 15 13:53:47 2008 for QP/C++ by  doxygen 1.5.4