Title :
Mapping Aspect-Oriented Domain-Specific Model to Code for Real Time System
Author :
Song, Haitao ; Song, Zhumei ; Zheng, Shixiong
Author_Institution :
Coll. of Mech. Eng., South China Univ. of Technol., Guangzhou
Abstract :
Model-integrated computing (MIC) benefits from aspect-oriented programming (AOP) during real-time system modeling process. However, crosscutting concerns, which MIC wants to eliminate, still appear because of lacking the elements to describe aspects directly in ordinary C++ language when the model is interpreted to source code. This paper presents an approach to interpret the aspect-oriented domain-specific model to AOP source code. Firstly, crosscutting concerns are defined as separated aspects during aspect-oriented (AO) modeling. Secondly, AOP model interpreter traverses these aspects and generates AOP code in Aspect C++. Subsequently, the weaver of Aspect C++ language weaves the aspects into a real system. This process fits well with the OMG´s model driven architecture (MDA). The AOP model interpreter can be integrated into generic modeling environment (GME) conveniently, so as to support the whole process of system development using AO. Furthermore, the weaving is postponed from model interpreting to AOP language interpreting, which focuses the model-designers´ attention on the construction of domain model itself and integrates the ability of AOP weaver in stock into the mapping procedure from AO model to AO application smoothly. Finally, several examples are described to illustrate the encapsulation of crosscutting concerns with the support of AOP model interpreter
Keywords :
C++ language; digital simulation; object-oriented programming; program interpreters; real-time systems; software engineering; AOP model interpreter; Aspect C++ language; aspect-oriented model; aspect-oriented modeling; aspect-oriented programming; domain-specific model; generic modeling environment; model driven architecture; model-integrated computing; real-time system modeling; source code interpretation; system development; Application software; Bridges; Educational institutions; Encapsulation; Mechanical engineering; Microwave integrated circuits; Modeling; Real time systems; Scattering; Weaving; Aspect-Oriented Model Interpreting; Control Software; Domain-Specific Model; Model-Integrated Computing; Real Time System;
Conference_Titel :
Intelligent Control and Automation, 2006. WCICA 2006. The Sixth World Congress on
Conference_Location :
Dalian
Print_ISBN :
1-4244-0332-4
DOI :
10.1109/WCICA.2006.1714322