Boost logo

Boost Users :

Subject: Re: [Boost-users] boost statechart - usingdeep_history/shallow_history with custom reactions
From: ae ss (aess76_at_[hidden])
Date: 2009-11-17 07:36:17


thanks!

On Mon, Nov 16, 2009 at 7:31 PM, Andreas Huber
<ahd6974-spamboostorgtrap_at_[hidden]> wrote:
> Just so that I understand the mechanism, basically I have to transit
> into the initial state child-state-A1 , and deep_history will know
> that it actually needs to go through child-state-A2 on its way there.
> correct?
>
> <http://www.boost.org/libs/statechart/doc/reference.html#ClassTemplatedeep_history>
>
> No, the template parameter you pass to sc::deep_history is the *default*
> *state*, which is entered when no history information is available. If
> history information is available, then the last exited child-state of
> parent-state-A is entered. Whether or not the default state also happens to
> be the initial state is irrelevant.
>
> HTH,
>
> --
> Andreas Huber
>
> When replying by private email, please remove the words spam and trap
> from the address shown in the header.
>
> _______________________________________________
> 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