Papers Papers/2022 Papers Papers/2022



Paper Unlock

Authors: Van Cam Pham ; Ansgar Radermacher ; Sébastien Gérard and Shuai Li

Affiliation: CEA, LIST and Laboratory of Model Driven Engineering for Embedded Systems, France

Keyword(s): UML State Machine, Code Generation, Semantics-conformance, Efficiency, Events, C++.

Related Ontology Subjects/Areas/Topics: General-Purpose Modeling Languages and Standards ; Languages, Tools and Architectures ; Model Transformation ; Model-Driven Architecture ; Model-Driven Software Development ; Models ; Paradigm Trends ; Software Engineering

Abstract: An event-driven architecture is a useful way to design and implement complex systems. The UML State Machine and its visualizations are a powerful means to the modeling of the logical behavior of such an architecture. In Model Driven Engineering, executable code can be automatically generated from state machines. However, existing generation approaches and tools from UML State Machines are still limited to simple cases, especially when considering concurrency and pseudo states such as history, junction, and event types. This paper provides a pattern and tool for complete and efficient code generation approach from UML State Machine. It extends IF-ELSE-SWITCH constructions of programming languages with concurrency support. The code generated with our approach has been executed with a set of state-machine examples that are part of a test-suite described in the recent OMG standard Precise Semantics Of State Machine. The traced execution results comply with the standard and are a good hin t that the execution is semantically correct. The generated code is also efficient: it supports multi-thread-based concurrency, and the (static and dynamic) efficiency of generated code is improved compared to considered approaches. (More)


Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Pham, V.; Radermacher, A.; Gérard, S. and Li, S. (2017). Complete Code Generation from UML State Machine. In Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development - MODELSWARD; ISBN 978-989-758-210-3; ISSN 2184-4348, SciTePress, pages 208-219. DOI: 10.5220/0006274502080219

author={Van Cam Pham. and Ansgar Radermacher. and Sébastien Gérard. and Shuai Li.},
title={Complete Code Generation from UML State Machine},
booktitle={Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development - MODELSWARD},


JO - Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development - MODELSWARD
TI - Complete Code Generation from UML State Machine
SN - 978-989-758-210-3
IS - 2184-4348
AU - Pham, V.
AU - Radermacher, A.
AU - Gérard, S.
AU - Li, S.
PY - 2017
SP - 208
EP - 219
DO - 10.5220/0006274502080219
PB - SciTePress