QP/C  8.0.0
Real-Time Embedded Framework
Loading...
Searching...
No Matches
QAsmVtable Struct Reference

Virtual table for the QAsm class. More...

#include "qp.h"

Public Attributes

void(* init )(QAsm *const me, void const *const e, uint_fast8_t const qsId)
 Virtual function to take the top-most initial transition in the state machine.
 
void(* dispatch )(QAsm *const me, QEvt const *const e, uint_fast8_t const qsId)
 Virtual function to dispatch an event to the state machine.
 
bool(* isIn )(QAsm *const me, QStateHandler const s)
 Virtual function to check whether the state machine is in a given state.
 
QStateHandler(* getStateHandler )(QAsm *const me)
 Virtual function to get the current state handler of the state machine.
 

Detailed Description

Virtual table for the QAsm class.

Backward Traceability
  • SRS_QP_SM_10 : QP/C Framework shall support multiple and interchangeable State Machine Implementation Strategies

Definition at line 277 of file qp.h.

Member Data Documentation

◆ init

void(* QAsmVtable::init) (QAsm *const me, void const *const e, uint_fast8_t const qsId)

Virtual function to take the top-most initial transition in the state machine.

Definition at line 278 of file qp.h.

◆ dispatch

void(* QAsmVtable::dispatch) (QAsm *const me, QEvt const *const e, uint_fast8_t const qsId)

Virtual function to dispatch an event to the state machine.

Definition at line 280 of file qp.h.

◆ isIn

bool(* QAsmVtable::isIn) (QAsm *const me, QStateHandler const s)

Virtual function to check whether the state machine is in a given state.

Definition at line 282 of file qp.h.

◆ getStateHandler

QStateHandler(* QAsmVtable::getStateHandler) (QAsm *const me)

Virtual function to get the current state handler of the state machine.

Definition at line 285 of file qp.h.


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