Title :
Model-driven template metaprogramming
Author :
Cardoso, N. ; Vale, J. ; Ribeiro, O. ; Cabral, J. ; Cardoso, Pedro ; Mendes, J. ; Tavares, A.
Author_Institution :
Centro Algoritmi, Univ. of Minho, Guimaraes, Portugal
Abstract :
The development and maintenance of hardware/software Systems with a high level of variability is a complex task. At IVV Automacão, LDA the video surveillance system is implemented as a software product line that exploit the common component features that compose the video surveillance system family of products. In order to manage the system variability at code level, the IVV developers use C++ template metaprogramming (TMP). Although, TMP presents advantages in variability code management at compile time, the syntax and idioms of TMP are esoteric compared to conventional C++ programming, and TMP can be difficult to understand. In this paper we propose a novel approach to implement and maintain TMP code using a model-driven tool, that employs Template Markup Language with a XSLT transformer to automatic generate and maintain TMP code.
Keywords :
C++ language; program compilers; software maintenance; video surveillance; C++ template metaprogramming; IVV Automacão; LDA; XSLT transformer; automatic TMP code generation; automatic TMP code maintenance; code compilation time; component features; esoteric TMP idioms; esoteric TMP syntax; hardware system development; hardware system maintenance; model-driven template metaprogramming; software product line; software system development; software system maintenance; system variability management; template markup language; variability code management; video surveillance system;
Conference_Titel :
Emerging Technologies & Factory Automation (ETFA), 2012 IEEE 17th Conference on
Conference_Location :
Krakow
Print_ISBN :
978-1-4673-4735-8
Electronic_ISBN :
1946-0740
DOI :
10.1109/ETFA.2012.6489692