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#

get_services

Declare the generation service GoWrapper.

generate

Generate the code for this generation service.

init

Declare the required generation services and the execution order.

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_dirstr

Target directory for the code generation.

projectProject

Input SCADE Suite project.

configurationconfiguration

SCADE Suite configuration selected for the code generation.

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_dirstr

Target directory for the code generation.

projectProject

Input SCADE Suite project.

configurationconfiguration

SCADE Suite configuration selected for the code generation.