4 State Machine Model ToC Previous

4.5 Examples of StateMachines in the AddressSpace ToC Previous Next

4.5.3 StateMachineType using containment ToC Previous Next

readme_files/image012.png Figure 9 – Example of a StateMachineType using containment

Figure 9 gives an example of an ObjectType not only representing a StateMachine but also having some other functionality. The ObjectType “MyObjectType” has an Object “MyComponent” representing this other functionality. But it also contains a StateMachine “MyStateMachine” of the type “MyStateMachineType”. Objects of “MyObjectType” also contain such an Object representing the StateMachine and a Variable containing the current state of the StateMachine, as shown in the Figure.

Previous Next