You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ability for states to include substates by nesting a state machine – thus creating compound states – would be a nice addition the CBA state machine library.
The ability for states to include substates by nesting a state machine – thus creating compound states – would be a nice addition the CBA state machine library.
( see also https://statecharts.github.io/glossary/compound-state.html )
tl;dr:
Proposed interface:
Description
Adds a compound state to a state machine.
Parameters
_stateMachine
<LOCATION>
_nestedStateMachine
<LOCATION>
_onState
<CODE>
(Default: {})_onStateEntered
<CODE>
(Default: {})_onStateLeaving
<CODE>
(Default: {})_name
STRING
(Default: “stateX” with X being a unique number)Returns
<STRING>
Examples
_name = [_stateMachine, _nestedMachine, {}] call CBA_statemachine_fnc_addCompoundState;
The text was updated successfully, but these errors were encountered: