
From: Andreas Huber
Subject: RE: [Boost-users] [statechart] handling unexpected events To: "Robert Mecklenburg" Date: Monday, September 22, 2008, 7:11 PM Hi Robert
Sorry for the long delay, I'm currently on holiday. I seems your problem is best solved by defining the following reactions for the data_delivered state:
1. An ordinary transition to the ready state (triggered by the commit event) 2. A transition to the ready state, triggered by event_base, with a transition action that simply calls post_event, passing the event.
If you don't need to do anything special with the commit event, you could even omit the first transition.
Please let me know whether that works for you. I'll have limited internet access for another 24 hours, after that I might not be able to answer for a few days.
Please don't forward this to the NG, I'll do so myself when I return. Thanks!
HTH,
Andreas
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.