|
Boost Users : |
Subject: [Boost-users] [statechart]
From: Ernesto Rodriguez Reina (erreina_at_[hidden])
Date: 2015-11-30 09:59:07
Hi everyone,
The statechart search for an event handler in post-order (children first
then parent), however when we have orthogonal states involved then the
behaviour I am experiencing is different.
Let say we have an state X with two children [orthogonal] states Y and W.
Assuming none of the handlers discard (or defer) an event, the handler for
that event is called in the following order: Y, X, W, X. Note that the
handler of X is called twice. The code in the following link shows that
behaviour:
http://coliru.stacked-crooked.com/a/14cb35ca23e586a5
If there something that I am missing?
Best,
Ernesto Rodriguez Reina
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