osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

OSATE does not include Code Generation Annex property set #1220

Closed rinsley closed 5 years ago

rinsley commented 6 years ago

OSATE includes the ARINC653 property set from the ARINC 653 Annex, and the Data_Model and Base_Types files from the Data Modeling Annex. I would expect the Code_Generation_Properties property set from the Code Generation Annex to also be included, but it is not.

lwrage commented 6 years ago

@reteprelief Should this be part of OSATE?

reteprelief commented 5 years ago

Yes. It makes sense to include the property set from that Annex. If we go the other way someone could argue that we should not include the Data Modeling and ARINC653 annex material. All three are standards.

lwrage commented 5 years ago

@reteprelief Can you attach the property set file to the issue, please?

reteprelief commented 5 years ago

From the Annex document:

property set Code_Generation_Properties is Convention: enumeration (AADL, Legacy) => Legacy applies to (subprogram); -- Under the Legacy convention, no context information -- for port variables is generated. -- The AADL convention generates such information Parameter_Usage: enumeration (By_Value, By_Reference) applies to (data access, parameter); Return_Parameter: aadlboolean => false applies to (parameter); -- if true, out parameter is actually a return parameter end Code_Generation_Properties;