Boost logo

Boost Users :

Subject: [Boost-users] [statechart] history in the different state hierarchies
From: Vlad Orlov (monsta_at_[hidden])
Date: 2012-07-02 03:43:30


Hi Andreas,

> If you want to transition to either state_A or state_B from state_C based on
> history, I'm afraid putting state_A and state_B in the same direct or indirect
> outer state is your only option. That's how history works.

Thanks, that's what I needed to know, I guess... At first I thought it could
work without putting the states in some outer state.

> In your example, it seems it would be possible to put state_A and state_B into
> a new outer state state_X and transition to state_X with deep history, no?

Yes, it works fine with the outer state, just like it's explained in the
tutorial. I think I'll have to revise the layout of my state machine. Thanks
again for the explanation.


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