Boost logo

Boost Users :

Subject: [Boost-users] MSM accepts events before calling start
From: Andreas Kobler (andi.kobler_at_[hidden])
Date: 2012-08-29 19:12:54


Dear all

Recently I discovered MSM - a very nice piece of code! It let me
define the state machine decoupled from the other business logic code
what brought me easier unit testing and easier life :-)

Really nice so far. This week I faced the following situation: my MSM
accepts and processes events BEFORE its start() method was called. Is
this behavior by design? I know other state machine implementations
which do not accept any events until they are started. If the MSM's
behavior related to this start issue is on purpose, can anybody tell
me the background? Just curious if others have same thoughts or if my
mind acrobatic is totally odd.

Thanks for any comments

Andi


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