QP/C  6.5.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.

Functions

void QActive_ctor (QActive *const me, QStateHandler initial)
 protected "constructor" of an QActive active object More...
 

Detailed Description

QActive_ctor() definition.

Description
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
qf_qmact.c

Definition in file qf_qact.c.

Function Documentation

◆ QActive_ctor()

void QActive_ctor ( QActive *const  me,
QStateHandler  initial 
)

protected "constructor" of an QActive active object

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

Definition at line 66 of file qf_qact.c.