Flowcharts may be implemented as subroutines in the Rational Statemate model. The following are the rules for this flowchart implementation:
● To open/create a procedural flowchart automatically, select the “flowchart” implementation in a subroutine's properties form and click Edit.
● Visually, a procedural flowchart will look exactly the same as regular or generic flowcharts, except for three toolbar icons which are disabled:
●
●
●
● Icons of procedural flowcharts do not display in the element’s view of the definition chart of the connected subroutine (as procedural Statecharts are).
● During check-in/checkout of a subroutine with flowchart implementation, the connected flowchart (if it exists) is also checked-in/out.
● All relevant Rational Statemate tools support procedural flowcharts: Check Model, Simulation, Code-Generators, Documentor, Component libraries and Search tool.
●
● Each Flowchart creates a separate scope that contains all the boxes and arrows that are defined in the Flowchart.
● The enum type: stmm_st_type (in api_types.h) was extended to include additional types which represents Flowchart boxes types:stmm_st_or, /* Or State */
stmm_st_and, /* And State */