- From: Jim Barnett <1jhbarnett@gmail.com>
- Date: Sun, 23 Feb 2014 15:19:47 -0500
- To: www-voice@w3.org
Andreas,
Yes to both questions. For example, here is the relevant part of the
exitStates procedure. It executes the onexit handlers before it removes
s from the configuration :
for s in statesToExit:
for content in s.onexit:
executeContent(content)
for inv in s.invoke:
cancelInvoke(inv)
configuration.delete(s)
In enterStates, the state s is add to the configuration before the onentry routines are run
for s in statesToEnter.toList().sort(entryOrder):
configuration.add(s)
statesToInvoke.add(s)
if binding == "late" and s.isFirstEntry:
initializeDataModel(datamodel.s,doc.s)
s.isFirstEntry = false
for content in s.onentry:
executeContent(content)
In general, you are "in" a state if it's in the global "configuration" variable.
- Jim
On 2/23/2014 2:40 PM, Andreas Gansen wrote:
> Hello,
>
> When we have S1 -> S2, we execute: onexit S1, T, onentry S2. My
> question is, are we already in S2 during execution of the entry
> handlers and are we still in S1 during onexit is running?
>
>
> Regards
>
--
Jim Barnett
Genesys
Received on Sunday, 23 February 2014 20:20:39 UTC