Boost logo

Boost Users :

Subject: Re: [Boost-users] [statechart] forward_event()
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-09 06:28:09


>
> I have a state [A] with three orthogonal substates [X,Y,Z]. The states [A]
> and [X] provide custom reactions for an event [E]. If processing event [E]
> the state machine calls first the custom reaction in [A]. This method
> returns with forward_event() ; After this the custom reaction in [A] is
> called again. And then custom reaction in [X] is called.
>

>From my experience, it doesn't behave like that.

> It would be something easier to work vice versa. First the more
> "specialized" inner states could do there work and then the "generalized"
> outer states can do the everything else.
>

That's what happens usually.

Maybe there's some problem with your FSM definition?



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