|
Boost Users : |
Subject: Re: [Boost-users] [statechart] Pass event data to state constructor?
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2009-09-02 17:00:24
> In the scenario I'm thinking of, we have an event which says "data is
> available" from a data source. We don't want to put the data itself in the
> event, because it's very large and/or very expensive to obtain, and it
> might
> or might not be of interest. Instead, the event contains a token that can
> be
> used to request the data if it turns out to be needed. So on receipt of
> that
> "data is available" event, we'll transition to a new state that can
> determine whether it needs to obtain the data or not, and if so, to use
> the
> token to get it. But as it stands now, the new state doesn't have access
> to
> the token.
Ok. How do you determine whether you'll query the data source? Do you need
to wait for more events or can this be determined with the token only?
-- 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