|
QP/C++
|
QEP/C++ port to QK for a "generic" C compiler. More...
#include "qep.h"Go to the source code of this file.
Defines | |
| #define | Q_USE_NAMESPACE 1 |
| The switch to enable wrapping the whole QP framework in the QP namespace. | |
| #define | Q_EVT_CTOR 1 |
| The switch to enable constructors and virtual destructors in QEvent base class and its subclasses. | |
| #define | Q_SIGNAL_SIZE 2 |
| The size (in bytes) of the signal of an event. Valid values: 1, 2, or 4; default 2. | |
| #define | Q_EVT_CTOR 1 |
| The switch to enable constructors and virtual destructors in QEvent base class and its subclasses. | |
Typedefs | |
| typedef signed char | int8_t |
| C99 exact-width 8-bit signed int. | |
| typedef signed short | int16_t |
| C99 exact-width 16-bit signed int. | |
| typedef signed long | int32_t |
| C99 exact-width 32-bit signed int. | |
| typedef unsigned char | uint8_t |
| C99 exact-width 8-bit unsigned int. | |
| typedef unsigned short | uint16_t |
| C99 exact-width 16-bit unsigned int. | |
| typedef unsigned long | uint32_t |
| C99 exact-width 32-bit unsigned int. | |
QEP/C++ port to QK for a "generic" C compiler.
Definition in file qep_port.h.
| #define Q_EVT_CTOR 1 |
The switch to enable constructors and virtual destructors in QEvent base class and its subclasses.
The switch to enable calling constructors/destructors for dynamic events.
If defined, this macro enables constructors and the virtual destructor in the QEvent base class. The macro Q_NEW() invokes the event constructor by means of the placement new operator. The function QF::gc() invokes the virtual destrucor of the event explicitly before recycling the memory block to the event pool.
Definition at line 93 of file qep_port.h.
| #define Q_EVT_CTOR 1 |
The switch to enable constructors and virtual destructors in QEvent base class and its subclasses.
The switch to enable calling constructors/destructors for dynamic events.
If defined, this macro enables constructors and the virtual destructor in the QEvent base class. The macro Q_NEW() invokes the event constructor by means of the placement new operator. The function QF::gc() invokes the virtual destrucor of the event explicitly before recycling the memory block to the event pool.
Definition at line 93 of file qep_port.h.
| #define Q_SIGNAL_SIZE 2 |
The size (in bytes) of the signal of an event. Valid values: 1, 2, or 4; default 2.
This macro can be defined in the QEP ports to configure the QSignal type. If the macro is not defined, the default of 1 byte will be chosen in qep.h. The valid #QP_SIGNAL_SIZE values of 1, 2, or 4, correspond to QSignal of uint8_t, uint16_t, and uint32_t, respectively. The ::QSingal data type determines the dynamic range of numberical values of signals you your application.
Definition at line 75 of file qep_port.h.
| #define Q_USE_NAMESPACE 1 |
The switch to enable wrapping the whole QP framework in the QP namespace.
Definition at line 47 of file qep_port.h.
1.7.5.1