[msm] interrupt_state with more then one event that ends interrupt?
Hi,
Subj, Is that possible?
for example, one event continues processing, the another one finishes
the whole state-machine (some clean-up actions etc).
I tried
struct Interrupt : public msmf::interrupt_state< boost::mpl::vector
Hi,
Subj, Is that possible?
At the moment no.
for example, one event continues processing, the another one finishes the whole state-machine (some clean-up actions etc).
I tried
struct Interrupt : public msmf::interrupt_state< boost::mpl::vector
> {};
If I had implemented it, it would look like this, not like the second one.
- has no effect.
As the doc states, only one end event is currently supported, but it's been on my list with low prio as nobody had requested it. If you can wait a few days, I can give it a try very soon. HTH, Christophe
On 21.05.2013 23:37, Christophe Henry wrote:
As the doc states, only one end event is currently supported, but it's been on my list with low prio as nobody had requested it. If you can wait a few days, I can give it a try very soon.
Yes, sure. To my mind, this option could be useful in fsm's.
Hi,
Subj, Is that possible? for example, one event continues processing, the another one finishes the whole state-machine (some clean-up actions etc).
I tried
struct Interrupt : public msmf::interrupt_state< boost::mpl::vector
> {};
Hi, this should now work (rev 84642 in trunk). Could you give it a try? It's too late for 1.54 so it will make it into 1.55. Cheers, Christophe
On 05.06.2013 1:06, Christophe Henry wrote:
Hi, this should now work (rev 84642 in trunk). Could you give it a try? It's too late for 1.54 so it will make it into 1.55.
I tested it against trunk rev 84986 with vs2012u2.
It works perfectly!
Looking forward to see it in 1.55
test code:
#include <iostream>
#include
On 05.06.2013 1:06, Christophe Henry wrote:
Hi, this should now work (rev 84642 in trunk). Could you give it a try? It's too late for 1.54 so it will make it into 1.55.
I tested it against trunk rev 84986 with vs2012u2. It works perfectly! Looking forward to see it in 1.55
Great! Thanks for trying it. Christophe
participants (3)
-
Alexander Mingalev
-
Christophe Henry
-
Sam Fisher