GenModelC.sgen 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. GeneratorModel for yakindu::c {
  2. statechart InterfaceTest {
  3. feature Debug {
  4. dumpSexec = false
  5. }
  6. feature Outlet {
  7. targetProject = "TestScenarios"
  8. targetFolder = "src-gen-c/InterfaceTest"
  9. }
  10. feature FunctionInlining {
  11. inlineReactions = true
  12. inlineChoices = true
  13. inlineEnterSequences = true
  14. inlineEntryActions = true
  15. inlineExitActions = true
  16. inlineExitSequences = true
  17. }
  18. feature CCodeFeature {
  19. InterfaceEventListener = true
  20. Singleton = false
  21. }
  22. feature licenseHeader {
  23. licenseText = "
  24. # Copyright (c) 2011 committers of YAKINDU and others.
  25. # All rights reserved. This program and the accompanying materials
  26. # are made available under the terms of the Eclipse Public License v1.0
  27. # which accompanies this distribution, and is available at
  28. # http://www.eclipse.org/legal/epl-v10.html
  29. #
  30. # Contributors:
  31. # committers of YAKINDU - initial API and implementation
  32. "
  33. }
  34. // feature FunctionInlining {
  35. // inlineChoices = false
  36. // inlineEnterSequences = false
  37. // inlineEntryActions = false
  38. // inlineExitActions = false
  39. // inlineExitSequences = false
  40. // inlineReactions = false
  41. // }
  42. }
  43. statechart Test_DeepHistory {
  44. feature Outlet {
  45. targetProject = "TestScenarios"
  46. targetFolder = "src-gen-c/Test_DeepHistory"
  47. }
  48. feature CCodeFeature {
  49. InterfaceEventListener = true
  50. Singleton = false
  51. }
  52. feature licenseHeader {
  53. licenseText = "
  54. # Copyright (c) 2011 committers of YAKINDU and others.
  55. # All rights reserved. This program and the accompanying materials
  56. # are made available under the terms of the Eclipse Public License v1.0
  57. # which accompanies this distribution, and is available at
  58. # http://www.eclipse.org/legal/epl-v10.html
  59. #
  60. # Contributors:
  61. # committers of YAKINDU - initial API and implementation
  62. "
  63. }
  64. }
  65. statechart Test_Expression {
  66. feature Outlet {
  67. targetProject = "TestScenarios"
  68. targetFolder = "src-gen-c/Test_Expression"
  69. }
  70. feature CCodeFeature {
  71. InterfaceEventListener = true
  72. Singleton = false
  73. }
  74. feature licenseHeader {
  75. licenseText = "
  76. # Copyright (c) 2011 committers of YAKINDU and others.
  77. # All rights reserved. This program and the accompanying materials
  78. # are made available under the terms of the Eclipse Public License v1.0
  79. # which accompanies this distribution, and is available at
  80. # http://www.eclipse.org/legal/epl-v10.html
  81. #
  82. # Contributors:
  83. # committers of YAKINDU - initial API and implementation
  84. "
  85. }
  86. }
  87. statechart Test_Hierarchy {
  88. feature Outlet {
  89. targetProject = "TestScenarios"
  90. targetFolder = "src-gen-c/Test_Hierarchy"
  91. }
  92. feature CCodeFeature {
  93. InterfaceEventListener = true
  94. Singleton = false
  95. }
  96. feature licenseHeader {
  97. licenseText = "
  98. # Copyright (c) 2011 committers of YAKINDU and others.
  99. # All rights reserved. This program and the accompanying materials
  100. # are made available under the terms of the Eclipse Public License v1.0
  101. # which accompanies this distribution, and is available at
  102. # http://www.eclipse.org/legal/epl-v10.html
  103. #
  104. # Contributors:
  105. # committers of YAKINDU - initial API and implementation
  106. "
  107. }
  108. }
  109. statechart Test_LocalActions {
  110. feature Debug {
  111. dumpSexec = true
  112. }
  113. feature Outlet {
  114. targetProject = "TestScenarios"
  115. targetFolder = "src-gen-c/Test_LocalActions"
  116. }
  117. feature CCodeFeature {
  118. InterfaceEventListener = true
  119. Singleton = false
  120. }
  121. feature licenseHeader {
  122. licenseText = "
  123. # Copyright (c) 2011 committers of YAKINDU and others.
  124. # All rights reserved. This program and the accompanying materials
  125. # are made available under the terms of the Eclipse Public License v1.0
  126. # which accompanies this distribution, and is available at
  127. # http://www.eclipse.org/legal/epl-v10.html
  128. #
  129. # Contributors:
  130. # committers of YAKINDU - initial API and implementation
  131. "
  132. }
  133. }
  134. statechart Test_ParallelRegions {
  135. feature Outlet {
  136. targetProject = "TestScenarios"
  137. targetFolder = "src-gen-c/Test_ParallelRegions"
  138. }
  139. feature CCodeFeature {
  140. InterfaceEventListener = true
  141. Singleton = false
  142. }
  143. feature licenseHeader {
  144. licenseText = "
  145. # Copyright (c) 2011 committers of YAKINDU and others.
  146. # All rights reserved. This program and the accompanying materials
  147. # are made available under the terms of the Eclipse Public License v1.0
  148. # which accompanies this distribution, and is available at
  149. # http://www.eclipse.org/legal/epl-v10.html
  150. #
  151. # Contributors:
  152. # committers of YAKINDU - initial API and implementation
  153. "
  154. }
  155. }
  156. statechart Test_ShallowHistory {
  157. feature Outlet {
  158. targetProject = "TestScenarios"
  159. targetFolder = "src-gen-c/Test_ShallowHistory"
  160. }
  161. feature CCodeFeature {
  162. InterfaceEventListener = true
  163. Singleton = false
  164. }
  165. feature licenseHeader {
  166. licenseText = "
  167. # Copyright (c) 2011 committers of YAKINDU and others.
  168. # All rights reserved. This program and the accompanying materials
  169. # are made available under the terms of the Eclipse Public License v1.0
  170. # which accompanies this distribution, and is available at
  171. # http://www.eclipse.org/legal/epl-v10.html
  172. #
  173. # Contributors:
  174. # committers of YAKINDU - initial API and implementation
  175. "
  176. }
  177. }
  178. statechart Test_Transition {
  179. feature Outlet {
  180. targetProject = "TestScenarios"
  181. targetFolder = "src-gen-c/Test_Transition"
  182. }
  183. feature CCodeFeature {
  184. InterfaceEventListener = true
  185. Singleton = false
  186. }
  187. feature licenseHeader {
  188. licenseText = "
  189. # Copyright (c) 2011 committers of YAKINDU and others.
  190. # All rights reserved. This program and the accompanying materials
  191. # are made available under the terms of the Eclipse Public License v1.0
  192. # which accompanies this distribution, and is available at
  193. # http://www.eclipse.org/legal/epl-v10.html
  194. #
  195. # Contributors:
  196. # committers of YAKINDU - initial API and implementation
  197. "
  198. }
  199. }
  200. statechart InterfaceTest {
  201. feature Outlet {
  202. targetProject = "TestScenarios"
  203. targetFolder = "src-gen-c-sgltn/InterfaceTest"
  204. }
  205. feature CCodeFeature {
  206. InterfaceEventListener = true
  207. Singleton = true
  208. }
  209. feature licenseHeader {
  210. licenseText = "
  211. # Copyright (c) 2011 committers of YAKINDU and others.
  212. # All rights reserved. This program and the accompanying materials
  213. # are made available under the terms of the Eclipse Public License v1.0
  214. # which accompanies this distribution, and is available at
  215. # http://www.eclipse.org/legal/epl-v10.html
  216. #
  217. # Contributors:
  218. # committers of YAKINDU - initial API and implementation
  219. "
  220. }
  221. }
  222. statechart Test_DeepHistory {
  223. feature Outlet {
  224. targetProject = "TestScenarios"
  225. targetFolder = "src-gen-c-sgltn/Test_DeepHistory"
  226. }
  227. feature CCodeFeature {
  228. InterfaceEventListener = true
  229. Singleton = true
  230. }
  231. feature licenseHeader {
  232. licenseText = "
  233. # Copyright (c) 2011 committers of YAKINDU and others.
  234. # All rights reserved. This program and the accompanying materials
  235. # are made available under the terms of the Eclipse Public License v1.0
  236. # which accompanies this distribution, and is available at
  237. # http://www.eclipse.org/legal/epl-v10.html
  238. #
  239. # Contributors:
  240. # committers of YAKINDU - initial API and implementation
  241. "
  242. }
  243. }
  244. statechart Test_Expression {
  245. feature Outlet {
  246. targetProject = "TestScenarios"
  247. targetFolder = "src-gen-c-sgltn/Test_Expression"
  248. }
  249. feature CCodeFeature {
  250. InterfaceEventListener = true
  251. Singleton = true
  252. }
  253. feature licenseHeader {
  254. licenseText = "
  255. # Copyright (c) 2011 committers of YAKINDU and others.
  256. # All rights reserved. This program and the accompanying materials
  257. # are made available under the terms of the Eclipse Public License v1.0
  258. # which accompanies this distribution, and is available at
  259. # http://www.eclipse.org/legal/epl-v10.html
  260. #
  261. # Contributors:
  262. # committers of YAKINDU - initial API and implementation
  263. "
  264. }
  265. }
  266. statechart Test_Hierarchy {
  267. feature Outlet {
  268. targetProject = "TestScenarios"
  269. targetFolder = "src-gen-c-sgltn/Test_Hierarchy"
  270. }
  271. feature CCodeFeature {
  272. InterfaceEventListener = true
  273. Singleton = true
  274. }
  275. feature licenseHeader {
  276. licenseText = "
  277. # Copyright (c) 2011 committers of YAKINDU and others.
  278. # All rights reserved. This program and the accompanying materials
  279. # are made available under the terms of the Eclipse Public License v1.0
  280. # which accompanies this distribution, and is available at
  281. # http://www.eclipse.org/legal/epl-v10.html
  282. #
  283. # Contributors:
  284. # committers of YAKINDU - initial API and implementation
  285. "
  286. }
  287. }
  288. statechart Test_LocalActions {
  289. feature Outlet {
  290. targetProject = "TestScenarios"
  291. targetFolder = "src-gen-c-sgltn/Test_LocalActions"
  292. }
  293. feature CCodeFeature {
  294. InterfaceEventListener = true
  295. Singleton = true
  296. }
  297. feature licenseHeader {
  298. licenseText = "
  299. # Copyright (c) 2011 committers of YAKINDU and others.
  300. # All rights reserved. This program and the accompanying materials
  301. # are made available under the terms of the Eclipse Public License v1.0
  302. # which accompanies this distribution, and is available at
  303. # http://www.eclipse.org/legal/epl-v10.html
  304. #
  305. # Contributors:
  306. # committers of YAKINDU - initial API and implementation
  307. "
  308. }
  309. }
  310. statechart Test_ParallelRegions {
  311. feature Outlet {
  312. targetProject = "TestScenarios"
  313. targetFolder = "src-gen-c-sgltn/Test_ParallelRegions"
  314. }
  315. feature CCodeFeature {
  316. InterfaceEventListener = true
  317. Singleton = true
  318. }
  319. feature licenseHeader {
  320. licenseText = "
  321. # Copyright (c) 2011 committers of YAKINDU and others.
  322. # All rights reserved. This program and the accompanying materials
  323. # are made available under the terms of the Eclipse Public License v1.0
  324. # which accompanies this distribution, and is available at
  325. # http://www.eclipse.org/legal/epl-v10.html
  326. #
  327. # Contributors:
  328. # committers of YAKINDU - initial API and implementation
  329. "
  330. }
  331. }
  332. statechart Test_ShallowHistory {
  333. feature Outlet {
  334. targetProject = "TestScenarios"
  335. targetFolder = "src-gen-c-sgltn/Test_ShallowHistory"
  336. }
  337. feature CCodeFeature {
  338. InterfaceEventListener = true
  339. Singleton = true
  340. }
  341. feature licenseHeader {
  342. licenseText = "
  343. # Copyright (c) 2011 committers of YAKINDU and others.
  344. # All rights reserved. This program and the accompanying materials
  345. # are made available under the terms of the Eclipse Public License v1.0
  346. # which accompanies this distribution, and is available at
  347. # http://www.eclipse.org/legal/epl-v10.html
  348. #
  349. # Contributors:
  350. # committers of YAKINDU - initial API and implementation
  351. "
  352. }
  353. }
  354. statechart Test_Transition {
  355. feature Outlet {
  356. targetProject = "TestScenarios"
  357. targetFolder = "src-gen-c-sgltn/Test_Transition"
  358. }
  359. feature CCodeFeature {
  360. InterfaceEventListener = true
  361. Singleton = true
  362. }
  363. feature licenseHeader {
  364. licenseText = "
  365. # Copyright (c) 2011 committers of YAKINDU and others.
  366. # All rights reserved. This program and the accompanying materials
  367. # are made available under the terms of the Eclipse Public License v1.0
  368. # which accompanies this distribution, and is available at
  369. # http://www.eclipse.org/legal/epl-v10.html
  370. #
  371. # Contributors:
  372. # committers of YAKINDU - initial API and implementation
  373. "
  374. }
  375. }
  376. }