![]() |
Telelogic TAU (steve huntington) | ![]() |
Topic Title: Composite State Machine Topic Summary: How to show in Tau Created On: 26-Sep-2006 00:53 Status: Read Only
|
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I am trying to create a composite state machine in Tau. Tau allows creating a state machine within a state. It allows to define Exit and Entry Connection points. How do I show the entry and exit connection points in the highest level state machine diagram ? How do I show multiple inputs and outputs from a composite state ? Thanks Raman ------------------------- Raman |
|
![]() |
|
![]() |
|
Ramandeep
This section is the forum is for Tau UML Suite, but I assume you're using Tau/Architect or Tau/Developer? These instructions are for 2.7.1, but the steps should be similar for earlier versions. Let's do the entry point first: 1. Define the composite state: double-click a state symbol, and in the Create Presentation dialog box choose the New diagram tab->Statemachine Diagram, and click OK. 2. Create an entry point: In the model view, right-click the initialize() operation below the composite state->new->EntryConnectionPoint; rename it to something sensible, e.g. entry1. 3. Define the transition for the entry point: On the Statemachine diagram inside the composite state, define the transition for this entry point by putting a start transition with the name of the entry point on the symbol, e.g. entry1, and then connect it appropriately. 4. Reference the entry point: At the higher-level, specify entry into a composite state via a specific entry point by showing a next-state (i.e. at the end of a transition of flow) which contains the syntax "<state> via <entry>", e.g. "s1 via entry1" (without the quotes). These steps can be done in a different order if you have to, although 1 must be done before 2. For the exit point: 1. Define the exit point: On the containing (higher-level) statemachine, in the model view right-click the initialize() operation->new->ExitConnectionPoint; rename it to something sensible, e.g. exit1 2. Define the transition for the exit point: On the diagram for the containing statemachine, specify the name of the exit point, either as a guard on a 'Simple transition line' from the composite state, e.g. [exit1], or in a guard symbol containing exit1 in a flow line. to wherever it should go. 3. Reference the exit point: Inside the composite state, put a return symbol with the name of the exit point exit1. BTW this is all covered in the Tau introductory training course; please contact your local sales office if you need a training course. HTH Ian ------------------------- ============= Ian Barnard Principal Consultant Telelogic UK, an IBM company |
|
![]() |
|
![]() |
|
Hi Ian, Thank you very much. That is exactly what I was looking for! ------------------------- Raman |
|
![]() |
|
![]() |
|
Raman
Yes, that's exactly how it works. Regards Ian ------------------------- ============= Ian Barnard Principal Consultant Telelogic UK, an IBM company |
|
![]() |
Telelogic TAU
» UML Suite
»
Composite State Machine
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.