Boost logo

Boost Users :

Subject: Re: [Boost-users] [statechart] history not saved
From: Ilya Orlov (iorlov_at_[hidden])
Date: 2012-11-08 05:51:36


Sorry, Andreas,

I missed your advice in previous message. I changed transition code to A1
state and it worked perfectly. But ideally, I'd like to transit from B not
to A1 but to A state. How I can change this code to get it working with
saving all history for A-substates?

Thanks,
Ilya

On Thu, Nov 8, 2012 at 12:19 AM, Andreas Huber <
ahd6974-spamboostorgtrap_at_[hidden]> wrote:

> Hi Ilya
>
>
>
> > After Ev5 machine goes to A2 -> A21 state.
>
> > After Ev3 machine leaves state A with history and goes to state B.
>
> > After Ev4 machine leaves state B and should go back to A2 -> A21 but
> actually
> goes to A -> A1 -> A11 - default states.
>
> > How I can fix it?
>
>
>
> From a cursory glance at the code, it seems it behaves as it should. Why
> do you
> think that transitioning to deep history with default A11 should go to A2?
> It
> seems you'd get what you want by transitioning to deep history with
> default A1.
>
>
>
> HTH,
>
>
>
> Andreas Huber
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users



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