Linux Face / QPFramework
Embed: (wiki syntax)

« Back to documentation index

qevent.h File Reference

qevent.h File Reference

QEvent class and basic macros used by all QP components. More...

Go to the source code of this file.

Data Structures

struct  QEvent
 QEvent base class. More...

Typedefs

typedef uint8_t QSignal
 QSignal represents the signal of an event.

Detailed Description

QEvent class and basic macros used by all QP components.

This header file must be included, perhaps indirectly, in all modules (*.cpp files) that use any component of QP/C++ (such as QEP, QF, or QK).

Definition in file qevent.h.


Typedef Documentation

typedef uint32_t QSignal

QSignal represents the signal of an event.

The relationship between an event and a signal is as follows. A signal in UML is the specification of an asynchronous stimulus that triggers reactions [UML document ptc/03-08-02], and as such is an essential part of an event. (The signal conveys the type of the occurrence-what happened?) However, an event can also contain additional quantitative information about the occurrence in form of event parameters. Please refer to the document Brief Introduction to UML State Machines) for more information about state machine concepts.

Definition at line 117 of file qevent.h.