QP/C 6.9.1
qf_qact.c File Reference

QActive_ctor() definition. More...

#include "qf_port.h"
#include "qf_pkg.h"
Include dependency graph for qf_qact.c:

Go to the source code of this file.


void QActive_ctor (QActive *const me, QStateHandler initial)

Detailed Description

QActive_ctor() definition.

This file must remain separate from the rest to avoid pulling in the "virtual" functions QHsm_init_() and QHsm_dispatch_() in case they are not used by the application.
See also

Definition in file qf_qact.c.

Function Documentation

◆ QActive_ctor()

void QActive_ctor ( QActive *const  me,
QStateHandler  initial 
Performs the first step of active object initialization by assigning the virtual pointer and calling the superclass constructor.
[in,out]mepointer (see Object Orientation)
[in]initialpointer to the event to be dispatched to the MSM
Must be called only once before QMSM_INIT().
See also
QMsm_ctor() and QHsm_ctor()

Definition at line 66 of file qf_qact.c.