Abstract State Machine class (state machine interface)
More...
#include "qp.h"
Abstract State Machine class (state machine interface)
- Backward Traceability
-
Definition at line 178 of file qp.h.
◆ QAsm_ctor()
static void QAsm_ctor |
( |
QAsm *const | me | ) |
|
|
inlinestaticprotected |
Constructor of the QAsm base class.
- Details
- The constructor initializes the QAsm::vptr and clears the internal attributes. The constructor is "protected" because it is only intended to be invoked from the subclasses of the abstract base class QAsm.
- Parameters
-
[in,out] | me | current instance pointer (see SAS_QP_OO) |
- Backward Traceability
- QAsm: Abstract State Machine class (state machine interface)
Definition at line 215 of file qp.h.
◆ vptr
Virtual pointer inherited by all QAsm subclasses (see also SAS_QP_OO)
- Backward Traceability
- QAsm: Abstract State Machine class (state machine interface)
Definition at line 179 of file qp.h.
◆ state
Current state (pointer to the current state-handler function)
Definition at line 180 of file qp.h.
◆ temp
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 181 of file qp.h.
The documentation for this class was generated from the following files: