MiceOnABeam Product Documentation

Modified: 10/27/2011 7:29 PM
Recently changed articles You can subscribe to this wiki article using an RSS feed reader.

Exit Point

Summary

An Exit Point is used on the border of a Composite State to connect an incoming transition within it's decomposition to a component outside the state.

Graphic

An Exit Point is represented by the following graphic:

One or more incoming transitions may be connected to an Exit Point from within the Composite State, but it may only have a single outgoing transition connecting to a state or component outside the Composite State.

 

 

A transition initially drawn to the interior border of a Composite State will appear as an internal connection point indicating that it does not appear on the outside border of the Composite State (and so is not connected externally). However in all other respects it operates as an Exit Point. The connection point can be made visible on the Composite State's external border by selecting Show On Outside Border from the connection point's context menu. It's graphic will then show as a proper Exit Point.

A transition initially drawn originating from the exterior border of a state, will not show an Exit Point on the border although within the state's decomposition the connection will be represented by a proper Exit Point (since it is connected externally). Again, the Exit Point can be made visible on the state's external border by selecting Show On Outside Border from the Exit Point's context menu.

Description

An Exit Point is used to define the interface of a Composite State. A transition to a state or component outside a Composite State must be done via an Exit Point.

There are three connection scenarios for an Exit Point depending on whether it is connected externally and/or internally on the border of it's Composite State.

  1. One or more connected internal incoming transitions; Not connected externally:
       
    The transition(s) invokes the Default Entry on the Composite State, executing the Initial Transition contained within it's decomposition if it exists. As the Composite State is not exited it's Exit Action (if any) is not executed.
     
  2. Not connected internally; One connected external outgoing transition:
     
    The transition operates as a Group Transition, whereby it acts as if it had originated from every substate contained within the Composite State's decomposition and recursively so inside every substate that is a Composite State. When the transition is triggered the Exit Actions of all substates affected by the Group Transition will be executed followed by the Composite State's Exit Action. Only then will the Transition Action of the Group Transition be executed.
     
  3. One or more connected internal incoming transitions; One connected external outgoing transition:
     
    The Transition Action of the incoming transition is first executed followed by the Exit Action of the Composite State. The script then continues on with the outgoing transition, connecting to an object outside the Composite State's decomposition.

Usage

Please see the usage example in Entry Point.

Notes

  • An Exit Point by default takes on the name of the internally-connected transition within the Composite State's decomposition if it exists. If it is only connected externally, then it takes on the name of the external transition. It can however be changed by the User by selecting Edit Name from the Exit Point's context menu.
Tags:
Home: MiceOnABeam Product Documentation Copyright © 2010-2018 MiceOnABeam Software