7 Oct
2010
7 Oct
'10
6:55 p.m.
On 2010-10-07 06:53, Igor R wrote:
My question is as follows - is it possible to define some kind of "catch all" handler in the OuterSt? Sure. Just define unconsumed_event() member function in your state machine.
http://www.boost.org/doc/libs/1_44_0/libs/statechart/doc/reference.html#unco... Ah, "unconsumed" was the key word :) Thank you, it works well.
P.S. just for archiving purposes, the point here is to add a handler to
the actual state machine class/struct:
struct StateMachine : sc::state_machine