Model RealTime 11.2 2022.48

175814: Improvements for Inheritance Rearrangement

The Inheritance Rearrangement dialog was improved to report a list of references contained in the subclass that will become broken due to an inheritance refactoring. Broken references can be fixed with default actions that try to avoid unnecessary duplication of previously inherited elements, but it's also possible to use other actions for fixing the references. To help understanding and fixing the references the dialog provides navigation to useful views and diagrams.
In a few scenarios an inheritance rearrangement can still cause unexpected changes, which then must be fixed after the refactoring:
* A redefined state targeted by the initial transition in one of the super classes, may get locally duplicated, even if it's still accessible after the refactoring. In this case the initial transition may also get unexpectedly redirected to the duplicated state, even if it was redefined to target another state.
* For a redefining transition where both the source and target states are inherited, and still accessible after the refactoring, the preferred behavior would be to create a local transition in case the redefined transition is not accessible after the refactoring. However, the Inheritance Rearrangement dialog currently doesn't offer that possibility, and you can only choose between absorbing both the source and target state and then creating a local transition between those copies, or to delete the transition altogether. It's recommended to go for the first option and then manually redirect the local transition to target the inherited states instead, and then delete the unnecessary local states that were created.
* Inheritance rearrangement works best for capsule inheritance, and there are known issues for class inheritance. For example, redefinition links of class operations are not ensured to reference the closest operation in the inheritance hierarchy after the refactoring. Generated C++ code will still be correct, but navigation in the model will not work correctly since the redefinition links may target operations higher up in the inheritance hierarchy.
* It's possible to choose contradicting actions in the Inheritance Rearrangement dialog. For example, chosen actions can specify that a state should both be copied and deleted at the same time. It's the user's responsibility to not select actions that contradict each other.

175741: Support 64-bit pointers in buffer memory manipulation in Connexis

Improved 64-bit platforms support for Connexis DCS library. Fixed critical problem with buffer memory management for 64-bit pointers.

175665: Support for C++ attribute:[maybe_unused] and Suppression of rtdata

When Clang-Tidy compliance is selected, [[maybe_unused]] attribute is added to generated function arguments which are potentially unused. This is done when generated C++ code standard is set to C++17 or higher. For example:
void transition2_t1( [[maybe_unused]] const void * rtdata, [[maybe_unused]] MyProtocol::Base * rtport );

175638: Modifier in property windows is shown incorrectly

When the language of the model was set to anything other than 'C++', some modifiers in the Properties view for operations could be shown incorrectly. Now correct modifiers are always displayed irrespective of the language of the model.

175594: Automatically restore all tabs containing class, structure,state-diagrams when restarting

Model RealTime can now automatically restore previously open editors when the tool is started, to enable this behavior check the new preference "Automatically restore modeling editors on startup" under Modeling category. By default the preference is unchecked.

175498: Default return type "copied" from other functions

Now Return Type field in General tab of a Properties View for an operation is always updated correctly to show the return type of the currently selected operation.

175430: No option available to Cut, Copy and Paste when editing Transformation Configuration

When editing Transformation Configurations, right-click on text fields to open Eclipse standard context menu with Cut, Copy and Paste commands. To modify model properties right-click on the fields labels.

172729: CQPAR00224766 - Enhance model navigation within inherited state machines

When invoking "Go Inside" on an inherited composite state you will be prompted if you want to open the inherited state machine diagram or if you want to redefine the state and create a local state machine diagram.
A new preference, "RealTime Development - Diagrams - State Chart - When going inside inherited composite state" is added to get rid of the dialog box. You can also select "Remember my decision" checkbox in the dialog box to remember the choice and avoid being prompted.

99355: Remember which editor tabs that are open, and restore them when reopening Model RealTime

Model RealTime can now automatically restore previously open editors when the tool is started, to enable this behavior check the new preference "Automatically restore modeling editors on startup" under Modeling category. By default the preference is unchecked.

64031: Keep diagrams open on restart

Model RealTime can now automatically restore previously open editors when the tool is started, to enable this behavior check the new preference "Automatically restore modeling editors on startup" under Modeling category. By default the preference is unchecked.