QP/C
Functions
qhsm_top.c File Reference

QHsm_top() implementation. More...

#include "qep_pkg.h"

Go to the source code of this file.

Functions

QState QHsm_top (void *me, QEvent const *e)
 the top-state.

Detailed Description

QHsm_top() implementation.

Definition in file qhsm_top.c.


Function Documentation

QState QHsm_top ( void *  me,
QEvent const *  e 
)

the top-state.

QHsm_top() is the ultimate root of state hierarchy in all HSMs derived from QHsm. This state handler always returns (QState)0, which means that it "handles" all events.

See also:
Example of the QCalc_on() state handler for Q_INIT().

Definition at line 37 of file qhsm_top.c.

References Q_IGNORED.

Referenced by QHsm_init().