QM  6.1.1
Model-Based Design Tool
Loading...
Searching...
No Matches
$define1

$defineGenerating Code for State Machines

The $define1 ${<model-item>} directive specifies a non-recursive definition of the specific <model-item>, such as:

Package

The non-recursive definition $define1 ${<package>} defines all classes, free attributes and free operations nested directly in a given <package>, but will NOT generate any sub-packages nested in that package.

State Machine

The non-recursive definition $define1 ${<state-machine>} defines only the top-most initial transition of the state machine. But, the non-recursive state definition does NOT define any states of the state machine.

State

The non-recursive definition $define1 ${<state>} defines only the following state elements:

  • entry action
  • exit action
  • initial transition nested directly in that state
  • transitions attached directly to the boundary of that state

But, the non-recursive state definition does NOT define any sub-states nested in that state.

$defineGenerating Code for State Machines