|
Boost : |
Subject: [boost] [msm] Choosing initial event in sub machines
From: Michael.Herchel_at_[hidden]
Date: 2010-06-09 09:59:10
Hi,
I just came along another question regarding state machines and sub
machines.
With "typedef my_initial_event initial_event" it is possible to customize
the initial event.
This does not work for nested sub machines, because in those cases msm
just forwards the event that triggered the state change so that we end up
in the sub machines initial state.
Msm does not use the specified initial event of the sub machine to trigger
the initial state of the sub machine.
Actually, this is exactly the behaviour what we want but is it UML
conform?
Do you have any idea?
Best Regards,
Michael
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk