2 Sep
2009
2 Sep
'09
6:47 p.m.
Hi Bill
I'd like to be able to communicate the data from an event to the state(s) that get constructed as a result of a transition.
That's a pretty common request, see item 3 on the to-do list: http://www.boost.org/libs/statechart/doc/future_and_history.html#ToDoList As stated in the todo-item, passing event data to the state constructor is not as straight-forward as it might seem. You are bound to lose event type-safety. However, if you have a compelling use-case, I'm willing to finally implement this feature. HTH & Regards, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.