Boost logo

Boost :

From: Andreas Huber (ah2003_at_[hidden])
Date: 2004-06-03 07:24:57


Johan Nilsson <johan.nilsson <at> esrange.ssc.se> writes:

> This was just pseudo-code; I meant something corresponding to return
> "transit<other_state> / return transit<previous_state>". As I understand you
> this possible by posting an internal event from within the constructor?

Yes. However, for this to work you have to derive from fsm::state<> instead of
fsm::simple_state<>.

Regards,

Andreas


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk