Title :
Study and Realization of Generic Mechanism for Dynamic Loading Model Components in Simulation System
Author :
Feng, Wang Wei ; Hong, Yang Zhao ; Yan, Sun
Abstract :
This paper proposes a generic mechanism of loading model components in simulation system dynamically. It uses assembly language to realize the process of getting the class instance and calling members from the dynamic link library (DLL) of simulation model components dynamically. It also proposes solutions to the related problems such as memory alignment and object model By the proposed mechanism, you need not to declare the interface of component in simulation engine during compile time. Compared to other methods, the proposed mechanism is generic and imposes little restriction on simulation model components. It has been implemented in a combat simulation system written by C/C++ language and can improve the reusability of simulation model greatly.
Keywords :
C++ language; assembly language; digital simulation; software architecture; software libraries; software reusability; C language; C++ language; assembly language; compile time; dynamic link library; dynamic loading model components; generic mechanism; memory alignment; simulation engine; simulation model reusability; simulation system; Analytical models; Assembly; Bills of materials; Computational modeling; Computer architecture; Computer simulation; Engines; Libraries; Load modeling; Production facilities; Dynamic Loading; Model Components; Simulation System;
Conference_Titel :
Computer Science-Technology and Applications, 2009. IFCSTA '09. International Forum on
Conference_Location :
Chongqing
Print_ISBN :
978-0-7695-3930-0
Electronic_ISBN :
978-1-4244-5423-5
DOI :
10.1109/IFCSTA.2009.149