|
RKH
|
Macros for tracing the state machine execution. More...
Macros | |
| #define | RKH_TR_SM_INIT(actObj_, initState_) |
| Inits a previously created state machine calling its initializing action. More... | |
| #define | RKH_TR_SM_CLRH(actObj_, history_) |
| Erase the history of a state. It can be a shallow or deep history. More... | |
| #define | RKH_TR_SM_DCH(actObj_, evt_, state_) |
| Executes a state machine in a run-to-completation (RTC) model. More... | |
| #define | RKH_TR_SM_TRN(actObj_, sourceState_, targetState_) |
| Source and target state of the transition. The target could be either basic state, composite state or pseudostate. More... | |
| #define | RKH_TR_SM_STATE(actObj_, state_) |
| Legal, stable and final state of transition. More... | |
| #define | RKH_TR_SM_ENSTATE(actObj_, state_) |
| Entered state. More... | |
| #define | RKH_TR_SM_EXSTATE(actObj_, state_) |
| Exited state. More... | |
| #define | RKH_TR_SM_NENEX(actObj_, nEnState_, nExState_) |
| Number of entry and exit states in transition. More... | |
| #define | RKH_TR_SM_NTRNACT(actObj_, nta, nts) |
| Number of executed actions and segments of the transition. More... | |
| #define | RKH_TR_SM_TS_STATE(actObj_, state_) |
| Destination state or pseudostate of a transition segment. More... | |
| #define | RKH_TR_SM_EVT_PROC(actObj_) |
| The arrived event was succesfully processed and HSM resides in an allowed state. More... | |
| #define | RKH_TR_SM_EVT_NFOUND(actObj_, evt_) |
| The arrived event was't founded in the transition table. More... | |
| #define | RKH_TR_SM_GRD_FALSE(actObj_) |
| The transition was cancelled by guard function. More... | |
| #define | RKH_TR_SM_CND_NFOUND(actObj_) |
| The branch function returned a value not founded in the branch table. More... | |
| #define | RKH_TR_SM_UNKN_STATE(actObj_) |
| Unknown state. More... | |
| #define | RKH_TR_SM_EX_HLEVEL(actObj_) |
| The transition exceeded the allowed hierarchical level. More... | |
| #define | RKH_TR_SM_EX_TSEG(actObj_) |
| The transition exceeded the allowed number of segments within a compound transtion. More... | |
| #define | RKH_TR_SM_EXE_ACT(actionType_, actObj_, state_, action_) |
| Executes a behavior (action) of state machine, it could be an entry, exit, effect, init, preprocessor or guard. More... | |
Macros for tracing the state machine execution.
| #define RKH_TR_SM_INIT | ( | actObj_, | |
| initState_ | |||
| ) |
Inits a previously created state machine calling its initializing action.
| [in] | actObj_ | Active object |
| [in] | initState_ | Initial state of state machine |
Definition at line 544 of file rkhtrc_record.h.
| #define RKH_TR_SM_CLRH | ( | actObj_, | |
| history_ | |||
| ) |
Erase the history of a state. It can be a shallow or deep history.
Desc = clear history pseudostate
Group = RKH_TG_SM
Id = RKH_TE_SM_CLRH
Args = actObj_, history pseudostate
| [in] | actObj_ | Active object |
| [in] | history_ | History pseudostate |
Definition at line 571 of file rkhtrc_record.h.
| #define RKH_TR_SM_DCH | ( | actObj_, | |
| evt_, | |||
| state_ | |||
| ) |
Executes a state machine in a run-to-completation (RTC) model.
| [in] | actObj_ | Active object |
| [in] | evt_ | Dispatched event |
| [in] | state_ | Current state |
Definition at line 594 of file rkhtrc_record.h.
| #define RKH_TR_SM_TRN | ( | actObj_, | |
| sourceState_, | |||
| targetState_ | |||
| ) |
Source and target state of the transition. The target could be either basic state, composite state or pseudostate.
| [in] | actObj_ | Active object |
| [in] | sourceState_ | Source state |
| [in] | targetState_ | Target state |
Definition at line 620 of file rkhtrc_record.h.
| #define RKH_TR_SM_STATE | ( | actObj_, | |
| state_ | |||
| ) |
Legal, stable and final state of transition.
| [in] | actObj_ | Active object |
| [in] | state_ | Target state of transition |
Definition at line 643 of file rkhtrc_record.h.
| #define RKH_TR_SM_ENSTATE | ( | actObj_, | |
| state_ | |||
| ) |
Entered state.
| [in] | actObj_ | Active object |
| [in] | state_ | Entry state |
Definition at line 665 of file rkhtrc_record.h.
| #define RKH_TR_SM_EXSTATE | ( | actObj_, | |
| state_ | |||
| ) |
Exited state.
| [in] | actObj_ | Active object |
| [in] | state_ | Exit state |
Definition at line 687 of file rkhtrc_record.h.
| #define RKH_TR_SM_NENEX | ( | actObj_, | |
| nEnState_, | |||
| nExState_ | |||
| ) |
Number of entry and exit states in transition.
| [in] | actObj_ | Active object |
| [in] | nEnState_ | Number of entry states |
| [in] | nExState_ | Number of exit states |
Definition at line 710 of file rkhtrc_record.h.
| #define RKH_TR_SM_NTRNACT | ( | actObj_, | |
| nta, | |||
| nts | |||
| ) |
Number of executed actions and segments of the transition.
| [in] | actObj_ | Active object |
| [in] | nta | Number of executed effect action |
| [in] | nts | Number of transition segments |
Definition at line 735 of file rkhtrc_record.h.
| #define RKH_TR_SM_TS_STATE | ( | actObj_, | |
| state_ | |||
| ) |
Destination state or pseudostate of a transition segment.
| [in] | actObj_ | Active object |
| [in] | state_ | Target state of transition segment |
Definition at line 758 of file rkhtrc_record.h.
| #define RKH_TR_SM_EVT_PROC | ( | actObj_ | ) |
The arrived event was succesfully processed and HSM resides in an allowed state.
| [in] | actObj_ | Active object |
Definition at line 782 of file rkhtrc_record.h.
| #define RKH_TR_SM_EVT_NFOUND | ( | actObj_, | |
| evt_ | |||
| ) |
The arrived event was't founded in the transition table.
| [in] | actObj_ | Active object |
| [in] | evt_ | Dispatched event |
Definition at line 800 of file rkhtrc_record.h.
| #define RKH_TR_SM_GRD_FALSE | ( | actObj_ | ) |
The transition was cancelled by guard function.
| [in] | actObj_ | Active object |
Definition at line 819 of file rkhtrc_record.h.
| #define RKH_TR_SM_CND_NFOUND | ( | actObj_ | ) |
The branch function returned a value not founded in the branch table.
| [in] | actObj_ | Active object |
Definition at line 837 of file rkhtrc_record.h.
| #define RKH_TR_SM_UNKN_STATE | ( | actObj_ | ) |
Unknown state.
| [in] | actObj_ | Active object |
Definition at line 854 of file rkhtrc_record.h.
| #define RKH_TR_SM_EX_HLEVEL | ( | actObj_ | ) |
The transition exceeded the allowed hierarchical level.
| [in] | actObj_ | Active object |
Definition at line 871 of file rkhtrc_record.h.
| #define RKH_TR_SM_EX_TSEG | ( | actObj_ | ) |
The transition exceeded the allowed number of segments within a compound transtion.
| [in] | actObj_ | Active object |
Definition at line 889 of file rkhtrc_record.h.
| #define RKH_TR_SM_EXE_ACT | ( | actionType_, | |
| actObj_, | |||
| state_, | |||
| action_ | |||
| ) |
Executes a behavior (action) of state machine, it could be an entry, exit, effect, init, preprocessor or guard.
| [in] | actionType_ | Action type |
| [in] | actObj_ | Active object |
| [in] | state_ | State |
| [in] | action_ | Action |
Definition at line 919 of file rkhtrc_record.h.