Boost logo

Boost Users :

From: David Greene (greened_at_[hidden])
Date: 2006-02-22 17:33:09


I had assumed that if a state_machine definition did not mention any
reaction for a particular event in a particular state, occurrence
of that event in that state would be flagged as a runtime error.

It appears that instead, the event is simply dropped.

Can this behavior be changed? It would be tremendously helpful
for debugging purposes. Adding an error state and a bunch of
transitions into it seems like overkill, especially if the
cross product between states and events is large but the "in-
and out-degree" of states is small.

                             -Dave


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