qhsm_dis.c File Reference

QHsm_dispatch() implementation. More...

#include "qep_pkg.h"
#include "qassert.h"

Go to the source code of this file.

Functions

void QHsm_dispatch (QHsm *me, QEvent const *e)
 Dispatches an event to a HSM.

Detailed Description

QHsm_dispatch() implementation.

Definition in file qhsm_dis.c.


Function Documentation

void QHsm_dispatch ( QHsm me,
QEvent const *  e 
)

Dispatches an event to a HSM.

Processes one event at a time in Run-to-Completion fashion.

Parameters:
me is the pointer the state machine structure derived from QHsm.
e is a constant pointer the QEvent or a structure derived from QEvent.
Note:
Must be called after the "constructor" QHsm_ctor() and QHsm_init().
See also:
example for QHsm_init()
Encapsulation and Single Inheritance in C

Definition at line 40 of file qhsm_dis.c.

References Q_ASSERT, Q_EXIT_SIG, Q_INIT_SIG, Q_RET_HANDLED, Q_RET_IGNORED, Q_RET_SUPER, Q_RET_TRAN, QEP_EMPTY_SIG_, QEP_ENTER_, QEP_EXIT_, QEP_MAX_NEST_DEPTH_, QEP_TRIG_, QS_BEGIN_, QS_END_, QS_FUN_, QS_INT_LOCK_KEY_, QS_OBJ_, QS_QEP_DISPATCH, QS_QEP_IGNORED, QS_QEP_INTERN_TRAN, QS_QEP_STATE_EXIT, QS_QEP_STATE_INIT, QS_QEP_TRAN, QS_SIG_, and QS_smObj_.

Generated on Tue Mar 16 19:38:11 2010 for QP/C by  doxygen 1.6.3