On Tue, Feb 2, 2016 at 6:41 PM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
Oh, I see that you have anonymous transitions.
I see that MSM eUML defines the transitions like
target == source + event [guard] / action
but MSM-lite reverse the source and target
src_state == dst_state + event[ guard ] / action This is confusing.
Why have you chosen this syntax? Vicente
Well, I read it from left to right and therefore I found it more natural for me to do it this way. However, msm-lite supports both syntaxes. You change it to dst_state == src_state by setting up BOOST_MSM_DSL_DST_STATE_FIRST. Currently the default is src == dst but it might be changed to the, less confusing, one if that what devs are more comfortable with. You can find an example here -> http://boost-experimental.github.io/msm-lite/examples/index.html#euml-emulat... Cheers for the question, Kris
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost