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 - atomic state (C code)
  
State diagram mappings - atomic state (C code)
For each Atomic State that appears on a State Diagram that is being generated, ACS generates the following code elements.
Enter state operation
A private operation that initializes the state on entry.
The name of each enter state operation is as follows:
RtsEnter_<state name>
Exit state operation
A private operation that runs code on exit from a state.
The name of each exit state operation is as follows:
RtsExit_<state name>