首页 | 本学科首页   官方微博 | 高级检索  
     

联邦成员框架代码的自动生成技术研究
引用本文:王学慧,张磊,黄柯棣.联邦成员框架代码的自动生成技术研究[J].计算机仿真,2005,22(9):126-129.
作者姓名:王学慧  张磊  黄柯棣
作者单位:[1]国防科技大学机电工程与自动化学院,湖南 长沙 410073 [2]国防科技大学计算机学院,湖南 长沙 410073
摘    要:联邦成员软件的开发者面临着学习和使用RTI库的问题,大量低层接口的编程往往会使联邦开发者的注意力从联邦问题域转移到RTI技术细节上去.因此生成联邦成员框架代码的设计和实现可以大大降低成员软件开发难度,加快成员软件开发.该文通过分析联邦成员的程序流程和软件组成,采用面向对象的方法对联邦成员进行了抽象,设计了一些体现联邦成员特征的基本类,并基于这些设计实现了一种由HLA对象模型(FOM/SOM)自动生成联邦成员软件框架代码的方法.在RTI和实际的仿真实体模型间提供了一个抽象层,开发者不必考虑联邦成员与RTI之间的信息交换过程,只负责实现仿真实体模型的仿真功能,从而在成员级上实现了成员代码重用.

关 键 词:高层体系结构  联邦成员  框架模板  代码生成
文章编号:1006-9348(2005)09-0126-04
修稿时间:2004年6月10日

A Study of Automatically Generating Federate Framework Code
WANG Xue-hui,ZHANG Lei,HUANG Ke-di.A Study of Automatically Generating Federate Framework Code[J].Computer Simulation,2005,22(9):126-129.
Authors:WANG Xue-hui  ZHANG Lei  HUANG Ke-di
Abstract:Federate developers have to learn how to use the RTI Library.Therefore,the complex RTI interface always diverts the attention of federate developers from the federation problem domain to RTI specific technical issue,and distracts their attention from the implementation of simulation functions.For the sake of reducing the difficulties and shortening the time of federate development,it urgently requires the design tools for automatically generating federate framework code. This paper analyses the software configuration and program flow of a federate by abstracting a federate using object-oriented analysis and design methodologies.We design some of basic classes that reflect the federate characteristics.We also describe an approach of generating federate framework code from HLA Object Model(FOM or SOM),which provides a abstract layer between the RTI and the simulation model.The federate developers need not care about RTI details and how the information exchanges between the RTI and federates.What they should do is to implement the simulation functions.It means that we realize reuse in federate level.
Keywords:HLA  Federate  Framework templates  Code generation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号