QP/C  8.0.2
Real-Time Embedded Framework
Loading...
Searching...
No Matches
QAsm Class Reference

Abstract State Machine class (state machine interface) More...

#include "qp.h"

Inheritance diagram for QAsm:
QActive QHsm QMsm QMActive QTicker

Static Protected Member Functions

static void QAsm_ctor (QAsm *const me)
 

Protected Attributes

struct QAsmVtable const * vptr
 Virtual pointer inherited by all QAsm subclasses (see also Object Orientation)
 
union QAsmAttr state
 Current state (pointer to the current state-handler function)
 
union QAsmAttr temp
 Temporary storage for target/act-table etc.
 

Detailed Description

Abstract State Machine class (state machine interface)

Backward Traceability

Definition at line 181 of file qp.h.

Member Function Documentation

◆ QAsm_ctor()

static void QAsm_ctor ( QAsm *const me)
inlinestaticprotected

Definition at line 218 of file qp.h.

Member Data Documentation

◆ vptr

struct QAsmVtable const* vptr
protected

Virtual pointer inherited by all QAsm subclasses (see also Object Orientation)

Backward Traceability
  • QAsm: Abstract State Machine class (state machine interface)

Definition at line 182 of file qp.h.

◆ state

union QAsmAttr state
protected

Current state (pointer to the current state-handler function)

Definition at line 183 of file qp.h.

◆ temp

union QAsmAttr temp
protected

Temporary storage for target/act-table etc.

Backward Traceability
  • QAsm: Abstract State Machine class (state machine interface)
Details

The temp data member is used for passing information from the QP Application to the "event processor" of QP. The temp member is also used as the Duplicate Inverse Storage of the state attribute in between transitions (part of QP Functional Safety (FuSa) Subsystem).

Definition at line 184 of file qp.h.


The documentation for this class was generated from the following files: