QP/C  6.9.3
Real-Time Embedded Framework
QEvt Struct Reference

#include <qep.h>

Inheritance diagram for QEvt:
Inheritance graph
Collaboration diagram for QEvt:
Collaboration graph

Data Fields

QSignal sig
 
uint8_t poolId_
 
uint8_t volatile refCtr_
 

Detailed Description

Event class

Description
QEvt represents events without parameters and serves as the base structure for derivation of events with parameters.
Usage
The following example illustrates how to add an event parameter by derivation of the QEvt structure. Please note that the QEvt member super is defined as the FIRST member of the derived struct.
typedef struct {
QEvt super; /* inherits QEvt */
uint8_t keyId; /* ID of the key depressed */
} CalcEvt;
unsigned char uint8_t
Definition: 16bit/stdint.h:29
Definition: qep.h:151
See also
Object Orientation

Definition at line 151 of file qep.h.

Field Documentation

◆ sig

QSignal sig

signal of the event instance

Definition at line 152 of file qep.h.

◆ poolId_

uint8_t poolId_

pool ID (0 for static event)

Definition at line 153 of file qep.h.

◆ refCtr_

uint8_t volatile refCtr_

reference counter

Definition at line 154 of file qep.h.


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