State diagram mappings - history state (Java code)
For each History State on a State Diagram that is being generated, ACS generates the following code elements.
History state attribute
A private attribute that on exiting a sequential state or concurrent state, stores the last current substate within that state.
The name of each history state attribute is as follows:
RtsAttHistory_<parent sequential state, concurrent state or state diagram name>
The history state attribute uses the states type enumeration type that is generated for the owning state or diagram.
History state operation
A private operation which on entering a state makes the last state (as stored by the history state attribute) current.
The name of each history state operation is as follows:
RtsHistory_<parent sequential state, concurrent state or state diagram name>