|
Boost Users : |
Subject: Re: [Boost-users] [statechart] state behaviour
From: liquid (kj_at_[hidden])
Date: 2009-03-30 14:42:23
>> 1. How (if possible) to implement this: a state upon an event
>> generates an event and transits to another state?
>
> With "generates an event", I guess you mean posts an event. Yes, you can
> do that in a custom reaction
So, if I post an event and then execute "template< class
DestinationState > result transit();" in custom reaction this
destination state will be given posted event. Am I right?
Regards
Krzysztof
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net