GoWrapper
#
- class ansys.scade.wux.gowrapper.GoWrapper#
Implements the Generic Integration (
WUX2_GOWRP
) generation module.Refer to Wrapper to for its usage.
Refer to Generation Module in the User Documentation, section 3/ Code Integration Toolbox/Declaring Code Generator Extension.
Overview#
Declare the generation service GoWrapper. |
Import detail#
from ansys.scade.wux.gowrapper import GoWrapper
Method detail#
- GoWrapper.generate(target_dir: str, project: scade.model.project.stdproject.Project, configuration: scade.model.project.stdproject.Configuration)#
Generate the code for this generation service.
Refer to Generation Service in section 3 of the SCADE Python API Guide in the SCADE Suite documentation.
- Parameters:
- target_dir
str
Target directory for the code generation.
- project
Project
Input SCADE Suite project.
- configuration
configuration
SCADE Suite configuration selected for the code generation.
- target_dir
- classmethod GoWrapper.get_services()#
Declare the generation service GoWrapper.
- GoWrapper.init(target_dir: str, project: scade.model.project.stdproject.Project, configuration: scade.model.project.stdproject.Configuration)#
Declare the required generation services and the execution order.
Refer to Generation Service in section 3 of the SCADE Python API Guide in the SCADE Suite documentation.
- Parameters:
- target_dir
str
Target directory for the code generation.
- project
Project
Input SCADE Suite project.
- configuration
configuration
SCADE Suite configuration selected for the code generation.
- target_dir