仿真系统中动态加载模型部件通用机制的研究与实现

W. Feng, Yang Zhao Hong, Sun Yan
{"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}
引用次数: 1

摘要

提出了仿真系统中动态加载模型组件的通用机制。采用汇编语言实现了从仿真模型组件的动态链接库(DLL)中动态获取类实例和调用成员的过程。并针对仿真引擎中存在的内存对齐、对象模型等相关问题提出了解决方案。通过提出的机制,在编译时无需在仿真引擎中声明组件的接口。与其他方法相比,该机制具有通用性,对仿真模型组件的限制较小。该方法已在一个用C/ c++语言编写的作战仿真系统中实现,可大大提高仿真模型的可重用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信