Project Update
++++++
+++TheIProjectUpdateApi provides methods for updating the project configuration..+++
+++
+++applyInputFileChanges Applies input file changes to the
project. It runs the background validation and solves designated solving actions for the project.
+++
+++updateRteConfiguration Updates the Rte configuration for
the current state of the system description:
- Synchronizes existence of RteSwComponentInstance and RteSwComponentType container for each used atomic software component.
- Synchronizes existence of RteEventToTaskMapping container for each RTEEvent of each used atomic software component.
- Synchronizes existence of RteExclusiveAreaImplementation container for each exclusive area of each used atomic software component.
- Synchronizes existence of RteNvRamAllocation container for each NvBlockNeeds/NvBlockDescriptor of each used atomic software component.
+++
+++automaticReferenceCorrection Automatically
correct references in the project.
+++
+++applyEvaluatedVariantSetChanges Cleans
up the model after the EvaluatedVariantSet has been changed.
+++See examples below to call the Project Update API.+++
Project Update API
scriptTask("ProjectUpdate", DV_PROJECT) {
code {
activeProject {
projectUpdate {
applyInputFileChanges()
updateRteConfiguration()
automaticReferenceCorrection()
applyEvaluatedVariantSetChanges()
}
}
}
}