Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C Code > Generating C Code > Overview of generating C code (C code) > Overview of modeling C code (C code) > Overview of modeling C code (C code) > State diagram mappings - final state (C code)
  
State diagram mappings - final state (C code)
For each Final State on a State Diagram that is being generated, ACS generates code to set a valid value for the current state attribute that is generated for the parent Class, Sequential State or Concurrent State. The code is generated in the appropriate exit state operation.