摘要: 在诸多系统设计中,系统需要管理大量具有内在关联性相似性的对象系统(通常表现为对象树或对象图的形式)。通常采用的方法是系统集中管理和控制,根据对象的互异性特征,选取指定的对象和决定对象如何访问。这种集中控制的弊端是管理复杂、成本高,容易造成错误,并且可扩充性差。文章介绍了一种基于询问-回答模式的对象控制模型,有效地解决了这个问题。
关键词:
对象控制模型,
询问-回答模式,
虚函数,
动态编联
Abstract: In some specific systems, such as compiling systems or graphics systems, a large mount of objects with inherent associations and similarity should be managed to handle different operations upon different objects. Also, the management has to adapt the variation of objects and the variation of operations upon objects. Normal approach is to design a complicated control center to identify different objects and dispatch separate operations over separate objects. However such a centralized control model witnessed defects of complicated management, high control cost, and hard scalability. For such reasons, this paper performs an object control model based on request-reply pattern, which solves the problem effectively.
中图分类号:
蔡志旻,赵洋,潘捷,潘金贵. 基于询问-回答模式的对象控制模型的实现[J]. , 2003, 29(02): 101-103.
CAI Zhimin, ZHAO Yang, PAN Jie, PAN Jingui. Implementation of an Object Control Model Based on Request-reply Pattern[J]. , 2003, 29(02): 101-103.