profile image
Mattias Mohlin
Senior Solutions Architect for HCL Software
About
Mattias Mohlin is a senior solutions architect for HCL Software. His expertise comprises programming (Java, JavaScript, NodeJS, C/C++, Python, C#), modelling (UML), API design, and Eclipse plugin development.
Posts by Mattias Mohlin
article-img
Secure DevOps | September 11, 2020
Conjugating Certain Capsule Ports in HCL RTist
Protocols in an RTist model are often binary, meaning that there are two connected ports typed by the protocol. The out-events for one of the ports are the in-events for the other port.
article-img
Secure DevOps | August 26, 2020
Now Available: HCL RTist 2020.33
HCL RTist 11 2020.33 is now available with several improvements in various areas.
article-img
Secure DevOps | June 11, 2020
RTist 11 2020.22 Now Available
The latest release of RTist 11, called 2020.22, is now available. Here’s a look at what’s most noteworthy: Final Modifier Supported The C++ 11, Final Modifier is now supported by the model compiler. There is a new Final property that can be set on classes and capsules to specify that they cannot be inherited. The same property is also available on operations to specify that they cannot be overridden. Automatic Variables with Auto Keyword Another C++ 11 feature is automatic variables declared with the auto keyword. In RTist, you can now create attributes typed by a special auto type that has been added to the CppPrimitiveDatatypes package. You need to specify a default value for the attribute, set its Initializer Kind property to either "equal" or "brace" and make it static const or static constexpr, so that the model compiler will generate an initializer for the corresponding C++ variable. The C++ compiler will deduce the type of the variable from that initializer value.   Fix for Broken References An important improvement in the 2020.22 release is the better support for working with broken references. In the previous versions, the tool had difficulties coping with certain broken references, and as a remedy it sometimes deleted elements with such references. Now this no longer happens, and instead we have made it easier to fix broken references by means of a new Quick Fix called "Rebind Broken References". This quick fix can be run from the context menu of a broken reference problem in the Problems view, and it is able to rebind broken references that have been introduced by refactorings, where not all affected references could be updated at the time of the refactoring. A common example is when elements in a model library are moved so they end up in a...
article-img
Secure DevOps | April 28, 2020
RTist 11 Gets New Features, Bug Fixes
The updated version of RTist 11 is already full of new features and bug fixes following the completion of sprint 2020.16. The Relationships property page has been redesigned and now uses a single table for showing both incoming and outgoing relationships. This makes its behavior consistent with other property pages such as Attributes and Operations. It also improves the usability since it's now easier to work with a large number of relationships.     The license handling in RTist is now more flexible and you can configure for how long a license will be borrowed from the license server until it is returned (so that someone else can use it). Also, it's now possible to use a "heartbeat" license renewal to avoid that a license is lost in the middle of the work.     Both the above features are also available for users still using RTist 10.3, through the release 10.3 2020.16. Other features mentioned below are only present in version 11. A new context menu command on protocol events allows for easy conversion from an in-event to an out-event or vice versa.     Build variants can now also be used from the Clean dialog. This allows you to do clean builds with build variant settings specified.     Other features in RTist version 11 2020.16 worth checking out are: Extended UML-RT Java APIs which makes it easier to create capsule parts and connectors programmatically from Eclipse plugins Support for cleaning external library TCs by means of specifying a clean command in the TC Model compiler support for scoped enums with a specified underlying type Graphic visualization of TC prerequisites (this is an experimental feature)
article-img
Secure DevOps | April 17, 2020
NodePlus Now a Part of HCL RTist 11
HCL Software is pleased to announce the next major version of HCL RTist – the Eclipse-based modeling and development environment for creating event-driven, real-time applications. HCL RTist Version 11 runs on Eclipse 2019.06, which contains several improvements compared to Eclipse Photon that was used with version 10.3: For improvements in the Eclipse platform see: 2018.09 2018.12 2019.03 2019.06 For improvements in Eclipse’s C++ tooling (CDT) see: CDT 9.6 CDT 9.7 CDT 9.8 For improvements in the Eclipse Git integration (EGit) see: EGit 5.1 EGit 5.2 EGit 5.3 EGit 5.4 NodePlus A major highlight in HCL RTist 11, NodePlus gives you all the necessary tooling for developing Internet of Things (IoT) applications with RTist. You can use NodePlus for extending existing RTist applications with features often needed in IoT applications, such as communication with web servers, emitting MQTT events, accessing databases, etc. Even if such things could be done directly in the RTist application using C++, it is often significantly easier to do it in a language that is more commonly used for web-related tasks. For example, NodePlus lets you develop using Node-RED, a popular “low code” tool where graphical flows of interconnected nodes can realize sophisticated functionality without almost writing a single line of code. Thousands of pre-made nodes are available for free online, and one can simply drag-and-drop them into an application to use them. Learn more about Node-RED here. NodePlus also provides three custom nodes that let you integrate your RTist application with Node-RED: ‘rtist request’: The ‘rtist request’ node allows a flow to send or invoke an event into an RTist application. ‘rtist receive’: The ‘rtist receive’ node triggers a flow when receiving an event that is sent or invoked from an RTist application. ‘rtist response’: The ‘rtist response’ node replies to a received event that was...
article-img
Secure DevOps | March 13, 2020
Latest RTist Release Showcases Enhancements, Documentation
The Secure DevOps team at HCL Software released a newer version of HCL RTist 10.3 this week, in addition to an experimental version of the upcoming HCL RTist 11. The latter is the last experimental version and we are planning to release RTist 11 for production use in the next coming months. RTist now supports scoped enums. This is a useful feature introduced with C++ 11, which allows enumeration literals to be scoped within the container enum. That is, two scoped enums can have literals with the same names without clashes. You can also specify an underlying type to be used for the enum ('int' is the default). The support for CORBA IDL generation has also been reintroduced in this release. This feature was available in 10.2 but had to be removed due to a refactoring when the model compiler was introduced. New documentation has been written for the CORBA IDL support, which you can find here. The model compiler can now build TCs with cyclic library dependencies. A new preference has been introduced which must be set in order to allow such builds. You can find this preference on the preference page, RealTime Development - Build/Transformations - C++. Also, there were many usability improvements and bug fixes in this release. You can read more about the new contents of the release here.
a/icon/common/search Created with Sketch.