
64
(ii) Glossary of Terms
Code buttons can receive messages:
pushDown - the message is initiated when the user presses a code button�
doActivate - the message is initiated by a link�
doDeactivate - the message is initiated by a link or exclusive link cluster�
doReactivateLagTime - the message is initiated by a link�
doLabel - the message is initiated by a link or tag� This message contains a code stack.
Links can receive messages from initiator code buttons
initiatorDidTurnOn - the message is initiated by a code button
initiatorDidTurnO - the message is initiated by a code button
doLabel - the message is initiated by a tag (initiator)� This message contains a code stack.
Coding sequence
When coding objects receive messages they do the following actions in the following order:
Turned o Event receives pushDown or doActivate message:
Sends a initiatorDidTurnOn message to all outbound links�
Sends a initiatorDidTurnOn message to the exclusive link cluster�
Creates the active instance�
Turned on Event receives doActivate message
No actions
Turned on Event receives pushDown or doDeactivate message:
Sends a initiatorDidTurnO message to all outbound links�
Closes the active instance�
Event receives doLabel message:
If the event is turned on or the event is turned o and is the Last Active Event it will label its current
instance� This means the event adds a code stack into the instance’s labels array keeping the order
of appearance�
Global Tag is pushed down by the User:
Sends a initiatorDidTurnOn message to all outgoing links�
Sends a doLabel message to all turned on events� The Code stack contains the tag’s code�
Tag is pushed down by the User:
Sends a initiatorDidTurnOn message to all outgoing links�
Creates a code stack and adds its code to it�
Sends a doLabel message with a copy of the code stack to all outgoing links�
Tag receives a doLabel message:
Adds its code to the received code stack if the code stack does not contain the tag’s code yet�
Sends a copy of the code stack to all outgoing links�
Kommentare zu diesen Handbüchern