QP is an event-driven, RTOS-like, active object framework for microcontrollers, such as mbed. The QP framework provides thread-safe execution of active objects (concurrent state machines) and support both manual and automatic coding of UML statecharts in readable, production-quality C or C++. Automatic code generation of QP code is supported by the free QM modeling tool.
Dependents: qp_hangman qp_dpp qp_blinky
QEvt Struct Reference
#include <qp.h>
Inherited by QTimeEvt.
Data Fields | |
QSignal | sig |
signal of the event instance | |
Friends | |
class | QF |
class | QTimeEvt |
uint8_t | QF_EVT_POOL_ID_ (QEvt const *const e) |
access to the poolId_ of an event e | |
uint8_t | QF_EVT_REF_CTR_ (QEvt const *const e) |
access to the refCtr_ of an event e | |
void | QF_EVT_REF_CTR_INC_ (QEvt const *const e) |
increment the refCtr_ of an event e | |
void | QF_EVT_REF_CTR_DEC_ (QEvt const *const e) |
decrement the refCtr_ of an event e |
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.
Definition at line 167 of file qp.h.
Friends And Related Function Documentation
uint8_t QF_EVT_POOL_ID_ | ( | QEvt const *const | e ) | [friend] |
uint8_t QF_EVT_REF_CTR_ | ( | QEvt const *const | e ) | [friend] |
void QF_EVT_REF_CTR_DEC_ | ( | QEvt const *const | e ) | [friend] |
void QF_EVT_REF_CTR_INC_ | ( | QEvt const *const | e ) | [friend] |
Field Documentation
Generated on Wed Jul 13 2022 11:50:18 by 1.7.2