The StatemateBlock operates as a black-box for IBM® Rational® Statemate® code
within the IBM Rational Rhapsody® architecture
once it has been connected and synchronized.
About this task
The
StatemateBlock interface of the top-level
flowing data within the IBM Rational Statemate model
is specified in Rational Rhapsody using
flowports.
To connect the two models:
Procedure
- In the Rational Rhapsody diagram
from the previous procedure, use the Object
icon to create an object
with the appropriately named flowports.
- Connect the Rational Rhapsody flowports
to the ports on the StatemateBlock object through links.
- To produce an application, perform code
generation and build the entire Rational Rhapsody model.
Results
The StatemateBlock in Rational Rhapsody automatically
synchronizes with the Rational Statemate model
and adds or removes flowports from the StatemateBlock to reflect any
changes made in the Rational Statemate top-level
flowing data. The synchronization operation uses a Rational Rhapsody Block
Configuration containing the following Rational Statemate data:
- Rational Statemate MicroC
Profile with a single module
- Rational Statemate charts
that are in the scope of the MicroC profile. The top-level chart must
have a single top-level (regular) Activity
- Rational Statemate Panels
that are in the scope