[Qt-interest] Qt state machine: problem while queuing multiple events

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Jun 23 09:20:16 CEST 2011


>> Or were you suggesting posting different events altogether based on
>> what my current state is? (that'll get messy in my real SM that has
>> many such states/transitions).
>
> Yes that is what I was suggesting. I use a simple template for such trivial
> events and a trivial guarded transition class:
>

I'm already using guarded transitions for my SM.

I guess the key here is that I need to post different event when in S3
vs when in S2.

Thanks again,
-mandeep



More information about the Qt-interest-old mailing list