QP/C++  5.8.2
QP::QEvt Struct Reference

QEvt base class. More...

#include <qep.h>

Inheritance diagram for QP::QEvt:

Public Attributes

QSignal sig
 signal of the event instance
uint8_t poolId_
 pool ID (0 for static event)
uint8_t volatile refCtr_
 reference counter

Detailed Description

QEvt base class.

QEvt represents events without parameters and serves as the base class for derivation of events with parameters.
The following example illustrates how to add an event parameter by inheriting from the QEvt class.
struct QCalcEvt : public QEvt { // derived from QEvt
uint8_t keyId; // ID of the key depressed

Definition at line 212 of file qep.h.

The documentation for this struct was generated from the following file: