Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > System variables > sysSMGStateMachines system variable (SDL script)
  
sysSMGStateMachines system variable (SDL script)
This system variable applies only to the SDL scripts for C and C++ Generator.
The sysSMGStateMachines system variable (a global list) is used only when generating state machines. When generating state machines, ACS creates virtual model items, such as attributes and operations, to implement the state diagrams. ACS then generates code using real and virtual model items.
The sysSMGStateMachines system variable lists virtual state diagrams and their virtual items that are created to implement State Diagrams. The structure and properties of the virtual model items are the same as real model items, except that the type of a virtual model item is prefixed with SMG. Use the sysStates system variable to interrogate the virtual states on a virtual state diagram.
See also:
sysSMGClassObjects system variable - for working with virtual classes and their virtual items.
sysSMGStates system variable - for working with virtual states on a virtual state diagram.
sysSMGTypeDefVectors system variable - for working with virtual type definitions and their virtual enumeration literals.
For more information about the items that are generated to implement State Diagrams, see the Related Topics.