|Home > Communication with C++ Code > Calls to LISA+ behaviors from C++ code > About calls to LISA+ behaviors from C++ code|
Call back into LISA+ code from component C++ code by passing a pointer to a pure virtual interface class, the abstract interface, from the LISA+ code to the C++ code in
init. During simulation, the C++ code can use this pointer to call back into the LISA+ code.
The C++ code can call every port, be it internal, master, or slave. However, it cannot call non-port component behaviors directly using this approach.