Boost logo

Boost Users :

Subject: [Boost-users] Boost MSM: No transition from submachine to external state
From: stetkas (stetkas_at_[hidden])
Date: 2012-01-16 13:37:20


Using the following example as a template:

http://svn.boost.org/svn/boost/trunk/libs/msm/doc/HTML/examples/CompositeTutorialWithEumlTable.cpp
http://svn.boost.org/svn/boost/trunk/libs/msm/doc/HTML/examples/CompositeTutorialWithEumlTable.cpp

I am trying to create a state machine that consists of an alarm state and a
composite state (submachine). When an alarm event is posted while in the
composite state, the state machine is supposed to transition to the Alarm
state; however, the machine complains that no transition from the composite
state on the alarm event exists. This is similar to the example where the
player is in playing and a stop event is received.

Below is a dumbed-down version of my state machine:

http://boost.2283326.n4.nabble.com/file/n4300991/StateMachine.gif

Here is the implementation:

Here is the output:

See anything that could be causing my problem?

--
View this message in context: http://boost.2283326.n4.nabble.com/Boost-MSM-No-transition-from-submachine-to-external-state-tp4300991p4300991.html
Sent from the Boost - Users mailing list archive at Nabble.com.


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