Model RealTime 11.2 2023.04

175850: Testcase fails with "UNEXPECTED MESSAGE"

It's possible to construct a model where (under certain special circumstances) a capsule may receive a message before its state machine has been initialized. Previously this led to a call to RTActor::unexpectedMessage(), i.e. this situation was considered unexpected. Now this situation is handled by deferring such messages and later recalling them when the capsule is ready to initialize its state machine. Generated code now calls a new function RTActor::unhandledMessage() instead which takes the decision whether the message is truly unexpected (in which case unexpectedMessage() is called as before), or if the message just arrived "too early" and needs to be put in the defer queue for later processing.

175828: THE "MODIFIERS" CHECKBOXES FOR "OPERATIONS" IN "PROPERTIES"WINDOW ARE SHOWN INORRECTLY

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.

175740: Move semantics in HCL Model RealTime not working properly in case of port cardinality>1

When sending an event with an rvalue reference to event data (e.g. using std::move) on a replicated port (i.e. with multiplicity > 1) the event data will now only be moved once (for the last port instance).

175724: Model RealTime: implementation tab disappears in code view window when class operation is marked as "pure virtual"

It is now possible to add an implementation for a pure virtual operation. A pure virtual operation must be implemented in a derived type that will be directly instantiated, however the base type can still define an implementation. A derived class or capsule can explicitly call the base type implementation.
An operation marked as pure virtual will be generated in the cpp file only if it has a body.

174724: Model Debugger: State names not printed in trace

Tracing of inherited composite states with the model debugger is improved so that all state activation events now are captured. Note that there still is a problem when the elements in the Capture tab are automatically added when launching a new trace session. For now it's necessary to start by removing such automatically added elements, and then add them back again, to ensure all trace events will be properly captured.

172030: Please introduce a possibility to add "white space" in a diagram

A new diagram tool was added for making free space around the mouse cursor. It is available in the Palette toolbar for most types of the diagrams. The new tool might be useful when adding a new element to an already crowded diagram. It will move existing symbols radially outwards from the clicked position, creating the free space right at it.

172027: Please enhance the distinction between inherited elements on diagrams

New preferences have been added to control the widths of the lines in statecharts and the style of the lines for inherited elements.
By default the lines have medium width, the lines for inherited elements are drawn dashed, and redefined elements are shown with a special dashed line style ("dash-dot-dot") to make them easier to distinguish.

138752: CQPAR00184731 - RSA-RTE: State machine of derived capsule damaged when adding abstraction

Please see the release note for the item "175814: Improvements for Inheritance Rearrangement" here:
[Model RealTime documentation: Model RealTime 11.2 2022.48.html?cp=27_4_14_4](https://Model RealTime.hcldoc.com/help/topic/com.ibm.xtools.rsarte.webdoc/Releases/Changes%20in%20Model RealTime%2011.2/Model RealTime%2011.2%202022.48.html?cp=27_4_14_4)