7 May
2010
7 May
'10
10:36 a.m.
Hi Felipe
I have a patch using boost.fusion to allow this. It works this way:
class StSource : public sc::simple_state
{ public: typedef sc::custom_reaction<EvTest> reactions; sc::result react(const EvTest &event) { // How to pass event.getValue() to the target state ? transit<StTarget>(event.value); // pass arguments to target // state constructor } }; Does Boost have interest in this?
Yes, definitely! Thanks, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.