Designing Your Model: Model-Code Correspondence : Activity Charts : Decomposition of Non-basic Activities

Decomposition of Non-basic Activities

When a non-basic activity does not contain an immediate descendant that is a control activity, all of the activity's subactivities are considered active when the activity is active. For such a non-basic activity, the generated code will resemble the following:

void
cgActivity_A11acy1(void)
{

cgActivity_A111();

cgActivity_A112();

}