{"title":"仿真系统中动态加载模型部件通用机制的研究与实现","authors":"W. Feng, Yang Zhao Hong, Sun Yan","doi":"10.1109/IFCSTA.2009.149","DOIUrl":null,"url":null,"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.","PeriodicalId":256032,"journal":{"name":"2009 International Forum on Computer Science-Technology and Applications","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-12-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Study and Realization of Generic Mechanism for Dynamic Loading Model Components in Simulation System\",\"authors\":\"W. Feng, Yang Zhao Hong, Sun Yan\",\"doi\":\"10.1109/IFCSTA.2009.149\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":256032,\"journal\":{\"name\":\"2009 International Forum on Computer Science-Technology and Applications\",\"volume\":\"10 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-12-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 International Forum on Computer Science-Technology and Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IFCSTA.2009.149\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 International Forum on Computer Science-Technology and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IFCSTA.2009.149","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Study and Realization of Generic Mechanism for Dynamic Loading Model Components in Simulation System
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.