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 > Generating C++ code > Mapping Information > Mapping information for state diagrams > State diagram mappings - initial state (C++ code)
  
State diagram mappings - initial state (C++ code)
For each Initial State on a State Diagram that is being generated, ACS generates the following code elements.
Default entry operation
A private operation that determines which state a class, sequential state or concurrent state starts in. The name of each default entry operation is as follows:
RtsDefault_<parent state or state diagram name>.
* 
If an Initial State is owned by a Concurrent substate, ACS generates a default entry operation for both the concurrent substate and the parent concurrent state.