
Hi,
I am having a statemachine with a submachine. In the internal submachine I need to check if there is a flag active in the outer statemachine.
Currently I solve this with a const pointer to the outermost FSM passed to the submachine's constructor:
backEnd.set_states(msm::back::states_ <<
StOk(msm::back::states_ <<
StSlave(&backEnd)));
StSlave is the internal submachine in which I need to check whether a flag in StOk is active or not.
Then I check the flag activity status e.g in a guard of StSlave like this:
struct GrdBladeUp {
template