摘要
对于复杂系统的仿真不可能由单个人开发完成,并且为了保证仿真的逼真和准确,一个系统需要在不同的环境下开发,因此开发效率和各个分系统的兼容性是影响系统仿真的重要因素。该文在介绍了某型导弹武器系统的组成、功能和实现方法的基础上,提出了运用组件对象模型(ComponentObjectModel,COM)技术封装各个分系统,着重介绍了在VC++6.0下封装OpenGL绘图函数。由于COM具有跨进程、跨平台、跨操作系统和远程调用的特点,使得在VB,MATLAB,VC++6.0环境下开发的各个系统,能够有效地结合起来,对于复杂系统的仿真具有重要意义。
It is impossible for one person to accomplsih the development of simulation of a complex system. And the system should be developed in various environments in order to guarantee the fidelity and accuracy of simulation, so development efficiency and eompability of different sub-systems are important factors in simulation. This paper proposes the encapsulation of each sub-system with COM after introducing the composition, function and realization methord of one kind of missile weapon system. And it introduces emphatically the way of encapsulating OpenGL function in details in VC + + 6.0 environment . With the advantage of cross-process, cross-platform and remote calling, every sub-system developed in VB, MATLAB, VC + +6.0 environments can be integrated together efficiently. It is of very importance to the simulation of complex system.
出处
《计算机仿真》
CSCD
2005年第7期4-6,21,共4页
Computer Simulation
关键词
组件技术
导弹
系统
仿真
Component technology
Missile
System
Simulation