Boost logo

Boost :

Subject: [boost] [msm] nested pseudo exits with same event ending up in no trans in the most outer state machine.
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2010-07-19 05:28:14


>Hi All
>
>I have run in to the following problem :
>if I have 3 state machines where 1st has a composite state which has
>one more composite state than the most inner one enters to a pseudo
>exit state which sends finish event.
>The middle one has a transaction from the most inner pseudo exit with
>even finish to a pseudo exit middle state which sends finish again.
>The most outer state machine has a transition from the middle pseudo
>exit with event finish to a internal state.
>when the most inner pseudo state sends event finish it ends in a NO
>transition on the most outer state machine instead of triggering the
>transition in the middle state machine.
<snip>

Hi Richard,

Remove these lines:

        //struct test1 : msm::back::state_machine< test1Sm >
        //{
        //};
        //typedef test1 Test1Player;

And replace them with:

        typedef msm::back::state_machine< test1Sm > Test1Player;

And it should work.

Regards,
Christophe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk