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

QEvt base class. More...

#include <qep.hpp>

Inheritance diagram for QEvt:
QTimeEvt

Public Attributes

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

Description
QEvt represents events without parameters and serves as the base class for derivation of events with parameters.
Usage
The following example illustrates how to add an event parameter by inheriting from the QEvt class.
struct QCalcEvt : public QP::QEvt { // inherits QP::QEvt
std::uint8_t keyId; // ID of the key depressed
};
QEvt base class.
Definition: qep.hpp:155

Definition at line 155 of file qep.hpp.

Member Data Documentation

◆ sig

QSignal sig

Definition at line 156 of file qep.hpp.

◆ poolId_

std::uint8_t poolId_

Definition at line 157 of file qep.hpp.

◆ refCtr_

std::uint8_t volatile refCtr_

Definition at line 158 of file qep.hpp.


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