|
Boost Users : |
Subject: Re: [Boost-users] [statechart] Passing parameters from event to StateLocal Storage
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2010-05-07 06:57:24
Hi Christophe
>I need to maintain a parameter into the state local storage. This
> parameter is initially contained in the event that causes the transition
> to
> the target state. I give hereafter a small illustrative example.
The "problem" with passing event data to a constructor of a destination
state is hinted at here (item 3):
<http://www.boost.org/doc/libs/1_42_0/libs/statechart/doc/future_and_history.html>
Nevertheless, the triggering_event() function is available in >=1.42 (but
only documented in >=1.43). Also, I'll definitely look at Felipe's patch.
HTH,
-- 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