Model Templates : Activity Interface Report

Activity Interface Report

An activity interface report presents the input and output for a given activity. This template produces an interface report for a given activity. No text formatter is used—formatting is done using WRITE statements.

To understand the report, consider the activity chart in the following figure.

The chart shows an activity named SC_ACTIVITIES with its subactivities. Flow-lines indicating the flow of events, conditions, and data-items enter and exit SC_ACTIVITIES. Some of these flow-lines lead directly to, or exit from, a particular subactivity, whereas others lead to, or exit from, the parent activity (SC_ACTIVITIES itself). The interface report lists the elements flowing through these flow-lines, indicating whether they are events, conditions, or data-items.

For example:

DATA_ITEM ACCEL_DEFLECTION
EVENT ACTIVATE_CRUISE
EVENT CLOCK
DATA_ITEM MILEAGE

Note that flow-lines also lead from one subactivity to another. These are not considered as inputs and outputs to the main activity of the chart, and therefore information concerning them does not appear in the interface report.

The template first searches for a_flow_lines using a query function. The template then extracts the conditions, events, and a data-items that flow along these lines.