Boost logo

Boost Users :

Subject: Re: [Boost-users] [statechart] history not saved
From: Ilya Orlov (iorlov_at_[hidden])
Date: 2012-11-07 15:28:17


Hi Andreas,

In there are no explanation of history types in documentation , just names
- shallow, deep and full. I thought that with full history sm should go
back to that state it was before leaving A state.
Is it possible to go back to A2->A21 where it was before B in this case?
And if yes, tell me please how to do it.

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