Extension#
Overview#
The C/C++ Simulation Hooks
extension is a SCADE extension that
bundles Simulator extension and
Context generation services.
It does not generate code.
It avoids defining a Code Generator extension when you don’t need to generate integration code from the model.
Usage#
Once the extension is activated, you can add your own simulation hooks
implemented as classes derived from CWuxSimulatorExtension
:
Create a C++ file defining an instance of
CWuxSimulatorExtension
and override the required functions.Refer to Simulator extension for details.
Add the file to your project.
Declare it as Source File for C.