Boost logo

Boost Users :

Subject: Re: [Boost-users] [statechart]BitMachine with custom reactions. How to?
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2011-02-03 12:36:05


Hi Volker

> I tried to add custom reactions to the statechart library example
> BitMachine. It shall not only change the state, but also perform some
> (self-defined) action on the transition.

In this case, a transition with a transition action seems to be sufficient.

> Could somebody tell me, where I have to add / change what in order to
> achieve the goal? Any hints are welcome.

Please see:

<http://www.boost.org/doc/libs/1_45_0/libs/statechart/doc/tutorial.html#Transit
ionActions>

HTH & Regards,

--
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