You copied the Doc URL to your clipboard.
Accessing C++ constructs from LISA+
This section describes the changes needed to access C++ constructs from LISA+, and an example.
- About accessing C++ constructs from LISA+
You can use C++ constructs without special syntax inside behavior bodies, including ports, of a component, if theincludes
section of a component includes a header file that declares the constructs. - Changes required to your source code
To make C++ class declarations and definitions visible in LISA+ behaviors, add#include
statements, referencing the C++ header files, to theincludes
section of the component. - Changes required to your Fast Models project
Configure your System Canvas project to locate C++ object header files. - LISA+ example of accessing C++ constructs
A commented LISA+ example demonstrating the concepts necessary to communicate with C++.
Related reference
LISA+ example of accessing C++ constructs
LISA+ example of accessing C++ constructs