Model-based composable code generation
First Claim
Patent Images
1. A method of generating code in a model-based development environment comprising:
- modeling a system using graphical modeling entities;
attaching a modular code generator routine directly to at least one of the graphical modeling entities;
traversing through the graphical modeling entities to access the code generator routine; and
, executing the accessed code generator routine so as to generate code for the system.
1 Assignment
0 Petitions
Accused Products
Abstract
A framework is provided for generating code for the model-based development of a system. According to the framework, the model-based system is modeled using graphical modeling entities. A modular code generator routine is attached directly to at least one of the graphical modeling entities or to a meta-entity or to a collection of entities. The graphical modeling entities are traversed in order to access specified code generator routines. Each of the accessed code generator routines is executed so as to build up code portion by portion for the system.
95 Citations
54 Claims
-
1. A method of generating code in a model-based development environment comprising:
-
modeling a system using graphical modeling entities;
attaching a modular code generator routine directly to at least one of the graphical modeling entities;
traversing through the graphical modeling entities to access the code generator routine; and
,executing the accessed code generator routine so as to generate code for the system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method of generating code in a model-based development environment comprising:
-
modeling a system using graphical modeling entities;
attaching modular code generator routines directly to the graphical modeling entities such that each of at least some of the graphical modeling entities has more than one code generator routine attached thereto;
accessing the code generator routines such that, for each of the graphical modeling entities having more than one code generator routine attached thereto, only one of the code generator routines is selected based upon some criteria; and
,executing each of the selected code generator routines so as to generate the code. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
-
45. A method of developing code comprising:
-
attaching at least one modular code generator routine directly to each of a plurality of graphical modeling entities;
traversing through the graphical modeling entities;
accessing the code generator routines of each traversed modeling entity;
selecting only one modular code generator routine per graphical modeling entity; and
,executing each of the accessed code generator routines so as to generate the code. - View Dependent Claims (46, 47, 48, 49, 50, 51, 52, 53, 54)
-
Specification