Event structure. More...
#include <qevent.h>
Data Fields | |
| QSignal | sig |
| uint8_t | dynamic_ |
Event structure.
QEvent represents events without parameters and serves as the base structure for derivation of events with parameters.
The following example illustrates how to add an event parameter by derivation of the QEvent structure. Please note that the QEvent member super_ is defined as the FIRST member of the derived struct.
typedef struct QCalcEvtTag { QEvent super; /* derives from QEvent */ uint8_t keyId; /* ID of the key depressed */ } QCalcEvt;
Definition at line 150 of file qevent.h.
attributes of dynamic event (0 for static event)
Definition at line 152 of file qevent.h.
Referenced by QActive_get_(), QEQueue_get(), and QF_new_().
| QSignal QEvent::sig |
signal of the event instance
Definition at line 151 of file qevent.h.
Referenced by QActive_get_(), QEQueue_get(), QF_new_(), QF_tick(), and QFsm_dispatch().
1.6.3