The C++ tutorial starts with a UML project in C++ containing
an analysis package with high-level requirements for the vehicle sensor.
Using
IBM® Rational® Rhapsody® Developer for C++ the
developer opens a basic C++ project with high-level requirements and
a use case. The developer creates a design package with a sequence
diagram and an object model diagram. The object model diagram contains
the following design elements:
- The vehicle sensor
- The start button
- The display panel
- The counter
The developer generates code and builds the model.
Learning objectives
A developer
uses this tutorial to learn how to:
- Import a project into Rational Rhapsody.
- Gain an understanding of high-level project requirements.
- Construct two standard diagrams using Rational Rhapsody.
- Generate code from a model.
Time required
Required time to complete:
1 hour
Skill level
Intermediate
Audience
The intended audience for this
tutorial is software developers.
System requirements
To complete
this tutorial, you need to have the following tools and components
installed:
- Rational Rhapsody Developer for C++
- Cygwin
- Windows operating system
Prerequisites
To perform the steps in
this tutorial, you must be familiar with the following concepts and
tasks:
- Basic knowledge of how to use the product; for example, how to
create a project
- Basic visual modeling functions such as creating a class in the
product
- Some knowledge of programming concepts and terminology, preferably
C++