Boost logo

Boost Users :

Subject: Re: [Boost-users] [msm] EUML submachine without macro
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2011-06-15 16:06:07


> Hi,
>
> I'm trying to define a submachine without the
> BOOST_MSM_EUML_DECLARE_STATE_MACHINE macro (the "old" way - like in
> http://www.boost.org/doc/libs/1_46_0/libs/msm/doc/HTML/examples/SimpleTutorialWithEumlTable.cpp).
> The "main" machine works as expected. However, the submachine doesn't kick
> in at all (the system asserts in default no-transition handler). Any
> ideas?
>
> Ray

Hi,

you're just a little too fast as I added the example in the 1.47 release. In
the meantime, the submachine example can be found there:
http://svn.boost.org/svn/boost/trunk/libs/msm/doc/HTML/examples/CompositeTutorialWithEumlTable.cpp

It's slightly trickier than the main machine though. You need to define the
front-end the "old" way, then inherit from the back-end and euml_state.

HTH,

Christophe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net