Linux Face / QPFramework
Embed: (wiki syntax)

« Back to documentation index

QEvent Struct Reference

QEvent Struct Reference

QEvent base class. More...

#include <qevent.h>

Inherited by QTimeEvt.

Data Fields

QSignal sig
 signal of the event instance
uint8_t dynamic_
 attributes of a dynamic event (0 for static event)

Detailed Description

QEvent base class.

QEvent represents events without parameters and serves as the base class for derivation of events with parameters.

Note:
All data members of the QEvent class must remain public to keep it an AGGREGATE. Therefore, the attribute QEvent::dynamic_ cannot be declared private.

The following example illustrates how to add an event parameter by inheriting from the QEvent class.

Definition at line 139 of file qevent.h.


Field Documentation

uint8_t dynamic_

attributes of a dynamic event (0 for static event)

Definition at line 141 of file qevent.h.

signal of the event instance

Definition at line 140 of file qevent.h.