Title :
Hierarchical state machines for native mobile apps
Author :
Prajapati, Dharmendra
Author_Institution :
MPSG-Chromium, Samsung India Software Oper. Pvt Ltd., Bangalore, India
Abstract :
The primary goal of this paper is to present a simple and efficient implementation of the Hierarchical State Machine (HSM) design pattern for native mobile applications. By providing easy-to-use C language recipes for generating HSMs, the proposed implementation techniques are valuable in that they raise the level of abstraction and allow for straightforward mapping of UML state charts to compact and efficient code in C language. Writing interactive software for embedded systems leads many issues, due to the lack of adapted control structures, to a code that is difficult to maintain and reuse. Formalisms adapted to the description and to the specification of interactions do exist. We propose to extend imperative programming languages with a control structure borrowed from one of those formalisms: the hierarchical state machines.
Keywords :
Unified Modeling Language; finite state machines; programming language semantics; C language; UML state charts; control structure; embedded system; formalism; hierarchical state machines design pattern; imperative programming languages; interactive software; native mobile applications; native mobile apps; Embedded systems; Encoding; Java; Mobile communication; Object oriented modeling; Programming; Unified modeling language; HSM; Hierarchical State Machine;
Conference_Titel :
India Conference (INDICON), 2012 Annual IEEE
Conference_Location :
Kochi
Print_ISBN :
978-1-4673-2270-6
DOI :
10.1109/INDCON.2012.6420696