7 May
2010
7 May
'10
10:57 a.m.
Hi Christophe
I need to maintain a parameter into the state local storage. This parameter is initially contained in the event that causes the transition to the target state. I give hereafter a small illustrative example.
The "problem" with passing event data to a constructor of a destination state is hinted at here (item 3): http://www.boost.org/doc/libs/1_42_0/libs/statechart/doc/future_and_history.... Nevertheless, the triggering_event() function is available in >=1.42 (but only documented in >=1.43). Also, I'll definitely look at Felipe's patch. HTH, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.