Boost logo

Boost :

Subject: [boost] [msm]mismatch document and code
From: kondo_at_[hidden]
Date: 2011-06-29 04:38:11


Hello,

I'm reading the Boost.Msm document.

I found some mismatches between the document and the code.

Here is the document.
http://www.boost.org/doc/libs/1_46_1/libs/msm/doc/HTML/ch03s02.html
Section:Explicit entry / entry and exit pseudo-state / fork
State machine diagram "stm Fsm".

I believe that the diagram should correspond to an example code below.
http://www.boost.org/doc/libs/1_46_1/libs/msm/doc/HTML/examples/DirectEntryTutorial.cpp

==1==
In the diggram, there are two transitions that are triggered with event5.
But outer one is event6 in the code.

168: _row < SubFsm2::exit_pt
169: <SubFsm2_::PseudoExit1>, event6 , State2 >

==2==
There is no transition in the diagram correspond to the code below.
167: _row < SubFsm2 , event1 , State1 >,

==3==
There is no transition in the diagram correspond to the code below.
136: _row < SubState2 , event6 , SubState1 >,

I'm not sure which is correct the code or the diagram.
It's depends on what the author want to describe.

Christophe, could you check that?

Thanks,
Takatoshi


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