Re: [boost] Meta State Machine library review / MSM, question

4 Dec
2009
4 Dec
'09
2:14 p.m.
Hi Barend,
All my states are structs. Why is the state an integer here? How can I (humanly or with MSM) translate that state to one of the states defined? It works, I get a message, but still don't know which transition was not provided...
Unfortunately, no_transition is one of the few cases, where because of implementation details, MSM already crossed the compile-time / run-time boundary and all it has is the state id. Annex A shows the order in which the (usually hidden) state index is calculated. It's simply the order of appearance in the transition table. First are source states checked, then target states. Regards, Christophe
5669
Age (days ago)
5669
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christophe Henry