Rhapsody in C++ Tutorial
250 Pages
English
Downloading requires you to have access to the YouScribe library
Learn all about the services we offer

Rhapsody in C++ Tutorial

-

Downloading requires you to have access to the YouScribe library
Learn all about the services we offer
250 Pages
English

Description

™Rhapsody
Tu t o r i a l ™Rhapsody
Tu t o r i a l
Release 2.3 I-Logix Inc.
Three Riverside Drive
Andover, Massachusetts 01810
The software described in this document is furnished under a license and may be used or copied
only in accordance with the terms of such license. Rhapsody software contains proprietary
information, as well as trade secrets of I-Logix Inc., and is protected under copyright law.
Duplication of this manual, in whole or in part, is strictly prohibited, except with the prior
written consent of I-Logix Inc.
The information in this manual is subject to change without notice, and I-Logix assumes no
responsibility for any errors which may appear herein. No warranties, either expressed or
implied, are made regarding Rhapsody software and its fitness for any particular purpose.
Rhapsody is a registered trademark of I-Logix Inc. I-Logix, and the I-Logix logo are
trademarks of I-Logix Inc. Other products mentioned may be trademarks or registered
trademarks of their respective companies.
Copyright © July 6, 2000 by I-Logix Inc. All rights reserved.
Part No. 2174 Preface
Welcome to this Tutorial for Rhapsody™ by I-Logix. Rhapsody is the
ubiquitous, Unified Modeling Language (UML)-compliant application
development and collaboration platform for real-time systems, both embedded
and non-embedded.
The UML is the standard modeling language endorsed by the Object
Management Group (OMG). It allows software engineers to analyze and
design software systems ...

Subjects

Informations

Published by
Reads 406
Language English
Document size 2 MB

Exrait

™Rhapsody Tu t o r i a l ™Rhapsody Tu t o r i a l Release 2.3 I-Logix Inc. Three Riverside Drive Andover, Massachusetts 01810 The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. Rhapsody software contains proprietary information, as well as trade secrets of I-Logix Inc., and is protected under copyright law. Duplication of this manual, in whole or in part, is strictly prohibited, except with the prior written consent of I-Logix Inc. The information in this manual is subject to change without notice, and I-Logix assumes no responsibility for any errors which may appear herein. No warranties, either expressed or implied, are made regarding Rhapsody software and its fitness for any particular purpose. Rhapsody is a registered trademark of I-Logix Inc. I-Logix, and the I-Logix logo are trademarks of I-Logix Inc. Other products mentioned may be trademarks or registered trademarks of their respective companies. Copyright © July 6, 2000 by I-Logix Inc. All rights reserved. Part No. 2174 Preface Welcome to this Tutorial for Rhapsody™ by I-Logix. Rhapsody is the ubiquitous, Unified Modeling Language (UML)-compliant application development and collaboration platform for real-time systems, both embedded and non-embedded. The UML is the standard modeling language endorsed by the Object Management Group (OMG). It allows software engineers to analyze and design software systems using standard object-oriented techniques. With the UML, you can share object-oriented designs with users, marketers, managers, and fellow developers in a universal, graphical language. Rhapsody takes the design process several steps further, automatically generating ANSI-compliant C++ code from your UML design diagrams. Once the application is built, Rhapsody can animate the running application so that you can observe its progress in animated versions of the same UML diagrams to perform design-level debugging. This Tutorial takes you through the process of designing an embedded system by creating several UML diagrams, generating code, building, and finally animating the application to verify its behavior in several animated views. The goal of this Tutorial is to help you quickly get up and running with Rhapsody, the visual development environment of choice for real-time embedded software engineers. Tutorial iii Information In this Book This Tutorial is organized as follows:  Chapter 1, Hello World walks you through developing HelloWorld in Rhapsody.  Chapter 2, Creating a Use Case Diagram walks you through the process of creating a Use Case diagram to define the major function points of the system. This chapter begins the main example of the rest of the tutorial, the Dishwasher embedded system example.  Chapter 3, Creating an Object Model Diagram walks you through the process of creating an Object Model diagram to define the architecture of the system.  Chapter 4, Creating a Sequence Diagram walks you through the process of creating a Sequence diagram to define collaborations between different components of the system.  Chapter 5, Creating a Statechart walks you through the process of creating a Statechart to define the life-cycle behavior of a certain task in the system.  Chapter 6, Animating the Application walks you through the process of building and executing the analysis model to verify system behavior against the design goals.  Chapter 7, Linking to a GUI takes you step by step through working with a GUI created in Visual C++. You build and link to the GUI, then run the GUI to interact with the Rhapsody model.  Chapter 8, The Rhapsody API walks you through examples of Visual Basic applications to access Rhapsody project information through the Rhapsody Application Programming Interface. How to Contact I-Logix I-Logix’ technical support hotline provides assistance with installation, application issues, and documentation. Technical support engineers also collect information about product defects and take suggestions for product enhancements. Technical support, sales, and application engineers assist iv Rhapsody in C++ How to Contact I-Logix prospective customers with product evaluations and provide timely responses to user issues. Contact the hotline as follows: Telephone: 978-682-4884 8:30 am to 5:30 pm EST Fax: 978-682-5995 Email: support@ilogix.com An alternative way to contact I-Logix is via the Web. If your host machine is connected to the Internet, you can access I-Logix’ Tech Support site through Rhapsody’s Help menu: 1. From the Help menu, select I-Logix on the Web. 2. From the cascading menu, click Technical Support. Tutorial v A Web browser opens with I-Logix’ Technical Support Form displayed. Note: You can also access I-Logix’ Technical Support site outside of Rhapsody by starting a Web browser and directly entering the URL http://www.ilogix.com/suform_c.htm. vi Rhapsody in C++ Where to Find More Information 3. In the Technical Support Form, enter your name, company, contact information, and a description of the problem, enhancement request, or question. 4. Confirm or cancel your entry:  Click Send to submit the information.  Click Reset to clear the form. Where to Find More Information The following are some additional sources of information on Rhapsody and real-time. Both of the white papers and the UML specification are available on I-Logix’ website:  Real-Time Object Orientation is a white paper by Dr. Bruce Powel Douglass that describes how to apply object-oriented methods specifically to the development of real-time embedded systems.  Real-Time Design Patterns by Dr. Bruce Powel Douglass is a white paper describing the use of object-oriented design patterns, a la Gamma et al., in 1real-time embedded systems.  Real-Time UML, Developing Efficient Objects for Embedded Systems by Dr. Bruce Powel Douglass is part of the Addison-Wesley Object Technology Series. It demonstrates how to use the UML to effectively analyze and model real-time embedded systems using object-oriented methods. You can find it on I-Logix’ web site at http://www.ilogix.com under “What’s New.”  Executable Object Modeling with Statecharts by Dr. David Harel and Eran Gery is a cover feature article from the July 1997 issue of the IEEE Computer Magazine describing the use of Statecharts for behavioral modeling within Rhapsody. You can find the article on the Web at http:// www.computer.org/col1997/r7031abs.htm.  UML Version 1.1 Specification 1. Design Patterns by Gamma, Helm, Johnson, and Vlissides, describes several patterns for creating reusable object-oriented software. Tutorial vii  Doing Hard Time: Using Object-Oriented Programming Software Patterns in Real-Time Applications by Dr. Bruce Powell Douglass. This book is expected to be available in May of 1999. viii Rhapsody in C++