Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost][statechart] Any way to print events receivedby a state even discarded ones
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2010-01-20 14:44:21


Hi

> And 9 out 10 times the simple event triggers the necessary transition but
> in a few instances I see no response/or transition.

This often happens in conjunction with orthogonal regions, does your machine
have such regions?

> Is there some way to see if the event got silently discarded.

Yes, for these events unconsumed_event is called:

<http://www.boost.org/doc/libs/1_34_0/libs/statechart/doc/reference.html#unconsumed_event>

> Is it being queued to the state-machine, an exception event raised.

An exception event cannot be silently discarded, at least not with the out
of the box exception translator.

HTH,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

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