Annex B (normative) StateMachines ToC Previous Next

B.5 Examples of StateMachines in the AddressSpace ToC Previous Next

B.5.3 StateMachineType using containment ToC Previous Next

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

Figure B.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