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 > sysSMGClassObjects system variable (SDL script)
  
sysSMGClassObjects system variable (SDL script)
This system variable applies only to the SDL scripts for C and C++.
The sysSMGClassObjects 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 sysSMGClassObjects system variable lists virtual classes and their virtual model 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. For example, the type of a real attribute is Attribute; the type of a virtual attribute is SMG Attribute.
See also:
sysSMGStateMachines system variable - for working with virtual state diagrams.
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.