start portlet menu bar

HCLSoftware: Fueling the Digital+ Economy

Display portlet menu
end portlet menu bar
Close
Select Page

Today we ship another release of HCL RTist: 11.1 2021.46. As usual, there are several new features and a few bug fixes. Let’s look at some of the highlights.

Moving Event Data

https://rtist.hcldoc.com/help/topic/com.ibm.xtools.rsarte.webdoc/Blogs/images/move_diagram.png

If you send data between two capsules frequently, and/or the data is big, you can benefit from the new possibility to move the event data. The diagram above shows that for a test application that moves instead of copies a string that is sent frequently between two capsules, the application performance improved with approximately 35%.

The type descriptor of a type now contains a new move function. If defined, a data object will be moved if an rvalue reference to the object is provided in the send-statement. You can for example obtain an rvalue reference using std::move:

pb.e1(mc).send(); // Send by copy
pb.e1(std::move(mc)).send(); // Send by move

You can also move the data of a received event in a transition function. For this to be possible the rtdata parameter must be declared as non-const. Unmark the new transition property Const rtdata parameter to accomplish this.

https://rtist.hcldoc.com/help/topic/com.ibm.xtools.rsarte.webdoc/Blogs/images/const_rtdata.png

You can then move the event data into, for example, a capsule attribute:

m = std::move(*rtdata);

Copy/Paste of Transitions

It’s now possible to copy a transition from a state machine and paste it onto a state in another (or the same) state machine. This can significantly speed-up the process of creating a new state machine based on an existing one. When you paste a copied transition on a state it initially becomes a self-transition for that state. You can later reroute the transition in a state chart diagram if you want it to target another state.

Automatic Creation of Fragment Files

https://rtist.hcldoc.com/help/topic/com.ibm.xtools.rsarte.webdoc/Blogs/images/automatic_fragment_files.png

A new preference Modeling – Automatically Create Fragment Files can be set if you prefer each newly created model element to be placed into its own fragment file. This can be useful for users that prefer creating fully fragmented models. Note that fragment files are not automatically renamed if you later rename the model element stored in it. There is a separate command in the Project Explorer context menu for renaming the fragment file: Refactor – Rename file.

Code Compliance

The preference RealTime Development – Build/Transformations – C++ – Code compliance – Clang-Tidy now also handles warnings for certain sizeof expressions by generating a suppression comment in the code. By not getting warnings from the generated code, it becomes more practical to use Clang-Tidy to find problems in your handwritten code snippets.

Learn more about the new features in this release by watching the videos in our Sprint Demo YouTube Playlist.

 

Start a Conversation with Us

We’re here to help you find the right solutions and support you in achieving your business goals.

  |  July 23, 2020
Introducing Design Room ONE Version 2.1
The latest Sprint 2020.26 bring us a new version 2.1 of Design Room ONE available for HCL RTist users.
  |  February 8, 2021
New RTist Deliverables Now Available for Download
HCL RTist 11.0 2021.04 and experimental version 11.1 2021.04 two deliveries are available for download. Feel free to reach out to the development team.
  |  December 15, 2020
RTist 11 Version 2020.50 is Now Available
The new version of RTist 11 - 2020.50 has improvements and can now move transitions from one state to another using drag-and-drop in Project Explorer.
AEX
Hi, I am HCLSoftware Virtual Assistant.