Page 9 - Demo
P. 9


                                    Interface to C/C++%uf09f %uf09f RCP Consult 2023-2025 Page 97. How to use the C/C++ interface in a STRUREL jobDuring installation of a STRUREL program with a licensed C/C++ Interface a corresponding Add-on (SAO) %u2013 StrurelToCpp.sao providing the connectivity to the development environment for supported compilers will be placed in the \\Add-ons\\ folder. If everything has been bound as described above, then in STRUREL several indicators provide information about the interface. The first one is a menu item Strurel To C/C++ in main menu Help\\About Add-ons\\Interface. By selecting this item, an informative tooltip will be shown.The next indicator is a C/C++ icon placed in the status bar on the bottom. When pointing on it by mouse cursor the state of interface will be shown on the leftmost pane of the status bar.If both indicators have states as shown above you are ready to use the C/C++ Interface facilities in a STRUREL job.A standard approach to operate with C/C++ Interface completely differs from handling with standard interfaces such as PYTHON or similar. The creation of a C/C++ source file in correct notation for compiler of interest is not trivial. To make it easier a template with some helpful data can be generated for a new source file referenced in the DEFFUNC defining an export function and name of Buildout Add-on. After definition of required Symbolic Expressions and parsing a name of source file together with Add-on name will be shown in Reliability Job tree in the category Buildout Add-ons. Blue color means that this source file is not yet saved. Otherwise the colour of source file name is red. For this state you can use right mouse click to activate a popup menu and select a source file of interest as shown below.
                                
   3   4   5   6   7   8   9   10   11   12   13