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

#include <qep.hpp>

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

Data Fields

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

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
unsigned char uint8_t
Definition: 16bit/stdint.h:29

Definition at line 209 of file qep.hpp.

Field Documentation

◆ sig

QSignal sig

signal of the event instance

Definition at line 210 of file qep.hpp.

◆ poolId_

std::uint8_t poolId_

pool ID (0 for static event)

Definition at line 211 of file qep.hpp.

◆ refCtr_

std::uint8_t volatile refCtr_

reference counter

Definition at line 212 of file qep.hpp.

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