| 摘要: |
| 面向对象并发程序设计语言能够帮助程序员利用面向对象技术编写并发程序,从而获得面向对象技术给软件开发带来的种种好处.然而,由于继承异常现象的存在,影响了并发程序设计语言引入继承特性.Ada95语言是支持并发程序设计的面向对象语言之一,但并不支持保护对象的继承.Ada-I语言在Ada95语言的基础上进行扩充,从而支持保护对象的继承,并且避免了继承异常现象的出现. |
| 关键词: Ada95,保护对象,继承,继承异常,面向对象并发程序设计语言. |
| DOI: |
| 分类号: |
| 基金项目:本文研究得到国防工委国防科技预研项目基金(No.15.5.2)资助。 |
|
| Ada-I: An Extension Language Supporting Inheritance of Protected Objects Based on Ada95 |
|
LU Jia,WEN Dong-chan,WANG Ding-xing
|
| Abstract: |
| Object-Oriented concurrent languages can help programmers to develop concurrent programs and to gain benefits by using object-oriented technology, such as encapsulation and inheritance. But inheritance anomaly influences designing object-oriented concurrent languages. Ada95 is one of the object-oriented languages that support concurrent program designing, but it does not support the inheritance of protected objects. Ada-I language based on Ada95 supports the inheritance of protected objects, and can avoid the inheritance anomaly. |
| Key words: Ada95, protected object, inheritance, inheritance anomaly, object-oriented concurrent language. |