RE: Link that deactivate itself, action

Emmanuel BEUQUE (ebeuque@pratique.fr)
Tue, 4 Nov 1997 10:18:58 +0100

À (At) 9:06 +0200 4/11/97, Grassel Guido NRC/Hki écrivait (wrote) :
>::>{:Link 3
>::> :InitiallyActive false
>::> :EventSource 1
>::> :EventType TestEvent
>::> :EventData true
>::> :LinkEffect (
>::> :Deactivate (3)
>::> :Activate (4)
>::> :TestVariable (1 1 1)
>::> )
>::>}
>::>{:Link 4
>::> :InitiallyActive false
>::> :EventSource 1
>::> :EventType TestEvent
>::> :EventData true
>::> :LinkEffect (
>::> :Deactivate (4)
>::> :Run (5)
>::> )
>::>}
>::>{Bitmap 5
>::> :InitiallyActive false
>::> ...
>::>}
>::>
>::>
>::>What would be the behaviour of this scene when it is running ?
>::>
>::>-link 3 testVariable action generates a new event that matches link 3 and
>4.
>I would expect this to happen! The TestVariable event generated upon
>execution of the LinklEffect of Link 3 matches the LinkCondition of Links 3
>and 4, but only Link 4 fires because to my understanding Link 3 has been
>deactivated before the TestVariable action gets axecuted.

Dear Grassel,

I'm glad to see you agree with me but that's not what Andreas think because
that's not what is currently said in the standard according to the last
paragraph of 53.3 :

"Another important aspect is that it is possible for a Link to deactivate
itself in its LinkEffect. Such an action shall be postponed until the
LinkEffect has been completely executed."

This would means that the Deactivate(3) in my link 3 is postponed and
executed only after the TestVariable action.

This is contrary to the general way the MHEG engine deal with the actions
queue and as I see not evident reason for this clause, I proposed to remove
it.

I would be glad to have the opinion of other MUG members.

Best regards,

__________________________________________________________________
Emmanuel BEUQUE mailto:ebeuque@pratique.fr
MediaServ tel: +33 (0) 2 99 64 35 64
Multimedia consultant & developer fax: +33 (0) 2 99 64 36 65