R. A. Flatt, D. Brendemihl, C. Prather, J. H. Robb
{"title":"Ada++: object-oriented programming in Ada-83","authors":"R. A. Flatt, D. Brendemihl, C. Prather, J. H. Robb","doi":"10.1109/DASC.1999.863690","DOIUrl":null,"url":null,"abstract":"Many Ada programmers have used object-oriented analysis (OOA) and object-oriented design (OOD) but have never been able to take full advantage of object technology because they could not implement object-oriented programming (OOP) in Ada-83. This paper describes a mechanism to implement OOP in Ada-83. Ada-83 is well suited for object based designs. Implementing the critical OOP features of inheritance and polymorphism in Ada-83 allows a programmer to move beyond an object-oriented design to an object design that utilizes object-oriented programming. By taking advantage of the strengths of both Ada-83 and OOP, software systems that are reliable, resilient to change, and easy to maintain can be developed. This paper provides details on the mechanism used to implement inheritance and polymorphism in Ada-83. This mechanism was developed for real-time applications that could not use Ada's tasking mechanism or dynamic memory allocation. Ada source code examples are provided to illustrate this OOP technique.","PeriodicalId":269139,"journal":{"name":"Gateway to the New Millennium. 18th Digital Avionics Systems Conference. Proceedings (Cat. No.99CH37033)","volume":"113 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1999-10-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Gateway to the New Millennium. 18th Digital Avionics Systems Conference. Proceedings (Cat. No.99CH37033)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DASC.1999.863690","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Many Ada programmers have used object-oriented analysis (OOA) and object-oriented design (OOD) but have never been able to take full advantage of object technology because they could not implement object-oriented programming (OOP) in Ada-83. This paper describes a mechanism to implement OOP in Ada-83. Ada-83 is well suited for object based designs. Implementing the critical OOP features of inheritance and polymorphism in Ada-83 allows a programmer to move beyond an object-oriented design to an object design that utilizes object-oriented programming. By taking advantage of the strengths of both Ada-83 and OOP, software systems that are reliable, resilient to change, and easy to maintain can be developed. This paper provides details on the mechanism used to implement inheritance and polymorphism in Ada-83. This mechanism was developed for real-time applications that could not use Ada's tasking mechanism or dynamic memory allocation. Ada source code examples are provided to illustrate this OOP technique.